{"id":242,"date":"2019-08-31T11:10:08","date_gmt":"2019-08-31T02:10:08","guid":{"rendered":"https:\/\/blog.hacya.com\/?p=242"},"modified":"2021-07-04T14:57:48","modified_gmt":"2021-07-04T05:57:48","slug":"cognitos3amplifyreactdropzone2","status":"publish","type":"post","link":"https:\/\/blog.hacya.com\/index.php\/2019\/08\/31\/cognitos3amplifyreactdropzone2\/","title":{"rendered":"Cognito\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u306b\u3088\u308bS3 \u306eAccess\u5236\u5fa1\u3092Amplify\u3068React\u3068Dropzone\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3059\u308b\u3002(\u305d\u306e2)"},"content":{"rendered":"\n<p>Cognito\u3067\u8a8d\u8a3c\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>AWS Service\u3092\u5229\u7528\u3059\u308b\u4e8b\u306b\u5bfe\u3059\u308b\u6a29\u9650\u306e\u8a2d\u5b9a\u306b\u306fIAM User\u3068IAM Role\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002IAM User\u306f\u3001User\u304cManagement Console\u306bLogin\u3057\u3066AWS Service\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u6a29\u9650\u8a2d\u5b9a\u3068\u8a00\u3048\u307e\u3059\u3002Management Console\u3092\u64cd\u4f5c\u3067\u304d\u306a\u3044\u4eee\u60f3\u306eUser\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u500b\u4eba\u7684\u306a\u7406\u89e3\u306fIAM User\u306fAWS Service\u3092\u5916\u5074\u304b\u3089\u5229\u7528\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u305f\u6a29\u9650\u8a2d\u5b9a\u3067\u3059\u3002IAM Role\u306f\u3001AWS Service\u304c\u4ed6\u306eAWS Service\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u6a29\u9650\u8a2d\u5b9a\u3068\u8a00\u3048\u307e\u3059\u3002\u3053\u3061\u3089\u306f\u3001AWS Service\u3092\u5185\u5074\u304b\u3089\u5229\u7528\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u305f\u6a29\u9650\u8a2d\u5b9a\u3068\u7406\u89e3\u3057\u3066\u3044\u307e\u3059\u3002<br>IAM User\u3082IAM Role\u3082\u500b\u3005\u306e\u6a29\u9650\u3092\u76f4\u306b\u8a18\u8ff0\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001IAM Policy\u306b\u6a29\u9650\u306e\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3057\u3001\u8907\u6570\u306eIAM Policy\u3092IAM User\u3084IAM Role\u306bAttach\u3057\u3066\u6a29\u9650\u3092\u69cb\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>Cognito\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u3067\u8a8d\u8a3c\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u306f\u3001Cognito\u3067\u8a2d\u5b9a\u3055\u308c\u305fIAM Role\u306e\u6a29\u9650\u3067AWS Service\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u3001Conginto\u306e\u8a2d\u5b9a\u6642\u306b\u751f\u6210\u3055\u308c\u305fIAM Role\u306bS3 Access\u306b\u5fc5\u8981\u306a\u6a29\u9650\u3092IAM Policy\u306b\u8a2d\u5b9a\u3057\u3001IAM Role\u306bAttach\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Management Console\u304b\u3089IAM\u3092\u958b\u304d\u3001\u300c\u30dd\u30ea\u30b7\u30fc\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u300c\u30dd\u30ea\u30b7\u30fc\u306e\u30d5\u30a3\u30eb\u30bf\u300d\u306b\u300cS3\u300d\u3092\u5165\u529b\u3059\u308b\u3068\u3001S3\u306e\u540d\u524d\u3092\u542b\u3093\u3060IAM Policy\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002AmazonS3FullAccess\u306e\u25b6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30dd\u30ea\u30b7\u30fc\u306e\u66f8\u304d\u65b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito10_edit-1024x576.png\" alt=\"\" class=\"wp-image-247\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito10_edit-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito10_edit-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito10_edit-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito10_edit-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito10_edit.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>\u300c\u30dd\u30ea\u30b7\u30fc\u306e\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001 \u300cJOSN\u300d\u30bf\u30d6\u3092\u958b\u304d\u3001 \u30dd\u30ea\u30b7\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 (\u305d\u306e1)\u3067\u4f5c\u6210\u3057\u305fBucket\u3060\u3051\u306bAccess\u51fa\u6765\u308b\u3088\u3046\u306b\u3001(\u305d\u306e1)\u3067\u78ba\u8a8d\u3057\u305fARN\u306f\u300carn:aws:s3:::upload.hacya.com\u300d\u306a\u306e\u3067\u3001\u6b21\u306eJSON\u306eTemplate\u306e{enter bucket name}\u306b\u300cupload.hacya.com\u300d\u3092\u5165\u308c\u307e\u3059\u3002 <\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-json\" data-lang=\"JSON\" data-file=\"Policy.json\"><code>{\n    &quot;Version&quot;: &quot;2012-10-17&quot;,\n    &quot;Statement&quot;: [\n        {\n            &quot;Action&quot;: [\n                &quot;s3:GetObject&quot;,\n                &quot;s3:PutObject&quot;,\n                &quot;s3:DeleteObject&quot;\n            ],\n            &quot;Resource&quot;: [\n                &quot;arn:aws:s3:::{enter bucket name}\/public\/*&quot;,\n                &quot;arn:aws:s3:::{enter bucket name}\/protected\/${cognito-identity.amazonaws.com:sub}\/*&quot;,\n                &quot;arn:aws:s3:::{enter bucket name}\/private\/${cognito-identity.amazonaws.com:sub}\/*&quot;\n            ],\n            &quot;Effect&quot;: &quot;Allow&quot;\n        },\n        {\n            &quot;Action&quot;: [\n                &quot;s3:PutObject&quot;\n            ],\n            &quot;Resource&quot;: [\n                &quot;arn:aws:s3:::{enter bucket name}\/uploads\/*&quot;\n            ],\n            &quot;Effect&quot;: &quot;Allow&quot;\n        },\n        {\n            &quot;Action&quot;: [\n                &quot;s3:GetObject&quot;\n            ],\n            &quot;Resource&quot;: [\n                &quot;arn:aws:s3:::{enter bucket name}\/protected\/*&quot;\n            ],\n            &quot;Effect&quot;: &quot;Allow&quot;\n        },\n        {\n            &quot;Condition&quot;: {\n                &quot;StringLike&quot;: {\n                    &quot;s3:prefix&quot;: [\n                        &quot;public\/&quot;,\n                        &quot;public\/*&quot;,\n                        &quot;protected\/&quot;,\n                        &quot;protected\/*&quot;,\n                        &quot;private\/${cognito-identity.amazonaws.com:sub}\/&quot;,\n                        &quot;private\/${cognito-identity.amazonaws.com:sub}\/*&quot;\n                    ]\n                }\n            },\n            &quot;Action&quot;: [\n                &quot;s3:ListBucket&quot;\n            ],\n            &quot;Resource&quot;: [\n                &quot;arn:aws:s3:::{enter bucket name}&quot;\n            ],\n            &quot;Effect&quot;: &quot;Allow&quot;\n        }\n    ]\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u300c\u30dd\u30ea\u30b7\u30fc\u306e\u78ba\u8a8d\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30dd\u30ea\u30b7\u30fc\u306e\u78ba\u8a8d\u3092\u3057\u307e\u3059\u3002<br>\u30dd\u30ea\u30b7\u30fc\u306e\u78ba\u8a8d\u3067\u306f\u3001\u300c\u540d\u524d\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u300cCognitoS3UploadPolicy\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u300c\u30dd\u30ea\u30b7\u30fc\u306e\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30dd\u30ea\u30b7\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito11-1024x576.png\" alt=\"\" class=\"wp-image-300\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito11-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito11-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito11-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito11-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito11.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito12-1024x576.png\" alt=\"\" class=\"wp-image-301\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito12-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito12-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito12-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito12-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito12.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito13_edit-1-1024x576.png\" alt=\"\" class=\"wp-image-305\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito13_edit-1-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito13_edit-1-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito13_edit-1-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito13_edit-1-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito13_edit-1.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>\u30dd\u30ea\u30b7\u30fc\u304c\u4f5c\u6210\u3067\u304d\u305f\u3089\u3001\u5de6\u5074\u306e\u300c\u30ed\u30fc\u30eb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u30ed\u30fc\u30eb\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001Cognito\u306eUser Pool\u3092\u4f5c\u6210\u3059\u308b\u6642\u306b\u4f5c\u6210\u3057\u305f\u300cCognito_UserPoolAuth_Role\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u300c\u30dd\u30ea\u30b7\u30fc\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u307e\u3059\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u30dd\u30ea\u30b7\u30fc\u306e\u30d5\u30a3\u30eb\u30bf\u300d\u306b\u300cS3\u300d\u3092\u5165\u529b\u3057\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f \u300cCognitoS3UploadPolicy\u300d\u306e\u5de6\u5074\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u307e\u3059\u3002\u300c\u30dd\u30ea\u30b7\u30fc\u306e\u30a2\u30bf\u30c3\u30c1\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30dd\u30ea\u30b7\u30fc\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito20_edit-1024x576.png\" alt=\"\" class=\"wp-image-251\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito20_edit-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito20_edit-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito20_edit-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito20_edit-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito20_edit.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito21_edit-1024x576.png\" alt=\"\" class=\"wp-image-252\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito21_edit-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito21_edit-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito21_edit-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito21_edit-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/08\/S3Cognito21_edit.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito22-1024x576.png\" alt=\"\" class=\"wp-image-303\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito22-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito22-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito22-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito22-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito22.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito23_edit-1024x576.png\" alt=\"\" class=\"wp-image-304\" srcset=\"https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito23_edit-1024x576.png 1024w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito23_edit-300x169.png 300w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito23_edit-768x432.png 768w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito23_edit-1200x675.png 1200w, https:\/\/blog.hacya.com\/wp-content\/uploads\/2019\/09\/S3Cognito23_edit.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u3001Cognito\u306e\u8a8d\u8a3c\u30e6\u30fc\u30b6\u30fc\u304c\u6301\u3064Role\u306b\u3001S3\u306eAccess\u306b\u5fc5\u8981\u306a\u6a29\u9650\u3092\u8ffd\u52a0\u3057\u305f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cognito\u3067\u8a8d\u8a3c\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 AWS Service\u3092\u5229\u7528\u3059\u308b\u4e8b\u306b\u5bfe\u3059\u308b\u6a29\u9650\u306e\u8a2d\u5b9a\u306b\u306fIAM User\u3068IAM Role\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002IAM User\u306f\u3001User\u304cManagement C &hellip; <a href=\"https:\/\/blog.hacya.com\/index.php\/2019\/08\/31\/cognitos3amplifyreactdropzone2\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Cognito\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u306b\u3088\u308bS3 \u306eAccess\u5236\u5fa1\u3092Amplify\u3068React\u3068Dropzone\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3059\u308b\u3002(\u305d\u306e2)&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[14,4,10,13,17,7],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","category-aws","tag-amplify","tag-aws","tag-s3","tag-cognito","tag-dropzone","tag-react"],"_links":{"self":[{"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/comments?post=242"}],"version-history":[{"count":5,"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/posts\/242\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/posts\/242\/revisions\/306"}],"wp:attachment":[{"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/media?parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/categories?post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hacya.com\/index.php\/wp-json\/wp\/v2\/tags?post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}