{"id":21083,"date":"2015-06-17T11:45:33","date_gmt":"2015-06-17T06:15:33","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=21083"},"modified":"2016-12-20T16:07:50","modified_gmt":"2016-12-20T10:37:50","slug":"aws-s3-file-upload-with-progress-bar-using-javascript-sdk","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/","title":{"rendered":"AWS S3 file upload with progress bar using javascript sdk"},"content":{"rendered":"<p>You can upload files on AWS S3 using a\u00a0server side solution, but in case of larger files it is advisable to use a\u00a0client side solution. You can probably\u00a0use\u00a0<a title=\"React JavaScript Development\" href=\"http:\/\/www.tothenew.com\/front-end-angularjs-development\">JavaScript<\/a> file upload feature of AWS S3.\u00a0This is simple three step feature as described below:<\/p>\n<p>Step 1 : In the head section of your page include javascript sdk and specify your keys like this:<\/p>\n<p>[code]<br \/>\n&lt;script src=&quot;https:\/\/sdk.amazonaws.com\/js\/aws-sdk-2.1.24.min.js&quot;&gt;&lt;\/script&gt;<br \/>\n&lt;script type=&quot;text\/javascript&quot;&gt;<br \/>\n    AWS.config.update({<br \/>\n        accessKeyId : &#8216;ACCESS_KEY&#8217;,<br \/>\n        secretAccessKey : &#8216;SECRET_KEY&#8217;<br \/>\n    });<br \/>\n    AWS.config.region = &#8216;AWS_REGION&#8217;;<br \/>\n&lt;\/script&gt;<br \/>\n[\/code]<\/p>\n<p>Step 2\u00a0: Now create a simple html form with a file input.<\/p>\n<p>[code]<br \/>\n&lt;form id=&quot;fileUploadForm&quot; method=&quot;post&quot; enctype=&quot;multipart\/form-data&quot;&gt;<br \/>\n&lt;input type=&quot;file&quot; name=&quot;file&quot; id=&quot;file&quot; value=&quot;dataFile&quot; required=&quot;&quot;&gt;<br \/>\n&lt;\/form&gt;<br \/>\n[\/code]<\/p>\n<p>Step 3\u00a0: Now upload your\u00a0input file to S3<\/p>\n<p>[code]<br \/>\n$(&quot;#fileUploadForm&quot;).submit(function() {<br \/>\nvar bucket = new AWS.S3({params: {Bucket: &#8216;BUCKET_NAME&#8217;}});<br \/>\nvar fileChooser = document.getElementById(&#8216;file&#8217;);<br \/>\nvar file = fileChooser.files[0];<br \/>\nif (file) {<br \/>\nvar params = {Key: &#8216;FILE_NAME&#8217;, ContentType: file.type, Body: file};<br \/>\nbucket.upload(params).on(&#8216;httpUploadProgress&#8217;, function(evt) {<br \/>\nconsole.log(&quot;Uploaded :: &quot; + parseInt((evt.loaded * 100) \/ evt.total)+&#8217;%&#8217;);<br \/>\n}).send(function(err, data) {<br \/>\nalert(&quot;File uploaded successfully.&quot;);<br \/>\n});<br \/>\n}<br \/>\nreturn false;<br \/>\n});<br \/>\n[\/code]<\/p>\n<p>To upload the file successfully, you need to enable CORS configuration on S3.<\/p>\n<p>Generally, it is not advisable to display your keys directly on page, so you can use Amazon Cognito or web identity federation feature.<\/p>\n<p><a href=\"http:\/\/docs.aws.amazon.com\/AWSJavaScriptSDK\/guide\/browser-configuring.html\" target=\"_blank\">Know more\u00a0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can upload files on AWS S3 using a\u00a0server side solution, but in case of larger files it is advisable to use a\u00a0client side solution. You can probably\u00a0use\u00a0JavaScript file upload feature of AWS S3.\u00a0This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk [&hellip;]<\/p>\n","protected":false},"author":145,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":100,"footnotes":""},"categories":[1174,7,1],"tags":[],"class_list":["post-21083","post","type-post","status-publish","format-standard","hentry","category-aws-2","category-grails","category-technology"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Deepak Kumar Mittal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#article\",\"name\":\"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog\",\"headline\":\"AWS S3 file upload with progress bar using javascript sdk\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/deepak-krmittal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-06-17T11:45:33+05:30\",\"dateModified\":\"2016-12-20T16:07:50+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":11,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#webpage\"},\"articleSection\":\"AWS, Grails, Technology\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#listItem\",\"name\":\"AWS S3 file upload with progress bar using javascript sdk\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#listItem\",\"position\":3,\"name\":\"AWS S3 file upload with progress bar using javascript sdk\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/deepak-krmittal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/deepak-krmittal\\\/\",\"name\":\"Deepak Kumar Mittal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/da9e6037-b214-46e2-8db4-ead6ae22187e_310-Deepak-Kumar-Mittal-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Deepak Kumar Mittal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/\",\"name\":\"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog\",\"description\":\"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/deepak-krmittal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/deepak-krmittal\\\/#author\"},\"datePublished\":\"2015-06-17T11:45:33+05:30\",\"dateModified\":\"2016-12-20T16:07:50+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog","description":"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk","canonical_url":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#article","name":"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog","headline":"AWS S3 file upload with progress bar using javascript sdk","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/deepak-krmittal\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2015-06-17T11:45:33+05:30","dateModified":"2016-12-20T16:07:50+05:30","inLanguage":"en-US","commentCount":11,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#webpage"},"articleSection":"AWS, Grails, Technology"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#listItem","name":"AWS S3 file upload with progress bar using javascript sdk"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#listItem","position":3,"name":"AWS S3 file upload with progress bar using javascript sdk","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/deepak-krmittal\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/deepak-krmittal\/","name":"Deepak Kumar Mittal","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/da9e6037-b214-46e2-8db4-ead6ae22187e_310-Deepak-Kumar-Mittal-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Deepak Kumar Mittal"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/","name":"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog","description":"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/deepak-krmittal\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/deepak-krmittal\/#author"},"datePublished":"2015-06-17T11:45:33+05:30","dateModified":"2016-12-20T16:07:50+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog","og:description":"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk","og:url":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"AWS S3 file upload with progress bar using javascript sdk | TO THE NEW Blog","twitter:description":"You can upload files on AWS S3 using a server side solution, but in case of larger files it is advisable to use a client side solution. You can probably use JavaScript file upload feature of AWS S3. This is simple three step feature as described below: Step 1 : In the head section of your page include javascript sdk","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"21083","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 13:20:11","updated":"2024-02-29 08:44:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAWS S3 file upload with progress bar using javascript sdk\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"AWS S3 file upload with progress bar using javascript sdk","link":"https:\/\/www.tothenew.com\/blog\/aws-s3-file-upload-with-progress-bar-using-javascript-sdk\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/21083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/145"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=21083"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/21083\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=21083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=21083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=21083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}