{"id":308357,"date":"2021-10-05T19:13:15","date_gmt":"2021-10-05T19:13:15","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=308357"},"modified":"2024-06-19T12:27:54","modified_gmt":"2024-06-19T12:27:54","slug":"get-customer-address-in-string-format-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/","title":{"rendered":"Get Customer Address in String format in Magento 2"},"content":{"rendered":"\n<p>Hello Friends!<br><br>In this blog, we are going to learn how we can get an address in string format.<br><br>In the following controller, we have loaded an address by id and got the string format of that address.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\/**\n * Vendor Desc.\n *\n * @category  Vendor\n * @package   Vendor_CustomModule\n * @author    Vendor\n * @copyright Copyright (c) Vendor\n * @license   https:\/\/example.com\/license.html\n *\/\nnamespace Vendor\\CustomModule\\Controller\\Demo;\n\nuse Magento\\Framework\\App\\Action\\Action;\nuse Magento\\Framework\\App\\Action\\Context;\nuse Magento\\Framework\\Controller\\ResultFactory;\n\nclass GetAddressFormatString extends Action\n{\n    \/**\n     * @var ResultFactory\n     *\/\n    protected $resultFactory;\n\n    \/**\n     * initialization\n     *\n     * @param Context $context\n     * @param ResultFactory $resultFactory\n     * @param \\Magento\\Customer\\Model\\Address\\Config $addressConfig\n     * @param \\Magento\\Customer\\Model\\Address\\Mapper $addressMapper\n     * @param \\Magento\\Customer\\Api\\AddressRepositoryInterface $addressRepository\n     * \n     * @return void\n     *\/\n    public function __construct(\n        Context $context,\n        ResultFactory $resultFactory,\n        \\Magento\\Customer\\Model\\Address\\Config $addressConfig,\n        \\Magento\\Customer\\Model\\Address\\Mapper $addressMapper,\n        \\Magento\\Customer\\Api\\AddressRepositoryInterface $addressRepository\n    ) {\n        $this-&gt;resultFactory     = $resultFactory;\n        $this-&gt;addressRepository = $addressRepository;\n        $this-&gt;addressConfig     = $addressConfig;\n        $this-&gt;addressMapper     = $addressMapper;\n        parent::__construct($context);\n    }\n    \n    \/**\n     * Execute method to get result\n     *\/\n    public function execute()\n    {\n        $addressId = 1;\n        $result = $this-&gt;resultFactory-&gt;create(\\Magento\\Framework\\Controller\\ResultFactory::TYPE_RAW);\n        $addressString = $this-&gt;getFormattedAddressAsStringByAddressId($addressId);\n        $result-&gt;setHeader(&#039;Content-Type&#039;,&#039;text\/html&#039;)\n            -&gt;setContents(&#039;Address: &#039;.$addressString);\n\n        return $result;\n    }\n\n    \/**\n     * Get Formatted Address as String\n     * \n     * @param int $addressId\n     * @return string\n     *\/\n    public function getFormattedAddressAsStringByAddressId($addressId)\n    {\n        $addressString = &quot;&quot;;\n        try {\n            $addressObject = $this-&gt;addressRepository-&gt;getById($addressId);\n            \/** @var \\Magento\\Customer\\Block\\Address\\Renderer\\RendererInterface $renderer *\/\n            $renderer = $this-&gt;addressConfig-&gt;getFormatByCode(&#039;html&#039;)-&gt;getRenderer();\n            $addressString = $renderer-&gt;renderArray(\n                $this-&gt;addressMapper-&gt;toFlatArray($addressObject)\n            );\n        } catch (\\Magento\\Framework\\Exception\\NoSuchEntityException $e) {\n            return &quot;&quot;;\n        }\n        return $addressString;\n    }\n}<\/pre>\n\n\n\n<p>Now, when we execute this controller on the browser. We will get the result as following image:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"392\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png\" alt=\"AddressInStringFormat\" class=\"wp-image-308358\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-300x98.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-250x82.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-768x251.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat.png 1308w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Hello Friends! In this blog, we are going to learn how we can get an address in string format. In the following controller, we have loaded an address by id and got the string format of that address. Now, when we execute this controller on the browser. We will get the result as following image:<\/p>\n","protected":false},"author":249,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121],"tags":[12141,12142,12143],"class_list":["post-308357","post","type-post","status-publish","format-standard","hentry","category-magento-2","tag-address-in-string-format","tag-address-string-format","tag-format-address-in-string"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Get Customer Address in String format in Magento 2 - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get Customer Address in String format in Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Hello Friends! In this blog, we are going to learn how we can get an address in string format. In the following controller, we have loaded an address by id and got the string format of that address. Now, when we execute this controller on the browser. We will get the result as following image:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-05T19:13:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-19T12:27:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png\" \/>\n<meta name=\"author\" content=\"Khushboo Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Khushboo Sahu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/\"},\"author\":{\"name\":\"Khushboo Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca\"},\"headline\":\"Get Customer Address in String format in Magento 2\",\"datePublished\":\"2021-10-05T19:13:15+00:00\",\"dateModified\":\"2024-06-19T12:27:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/\"},\"wordCount\":63,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png\",\"keywords\":[\"address in string format\",\"address string format\",\"format address in string\"],\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/\",\"name\":\"Get Customer Address in String format in Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png\",\"datePublished\":\"2021-10-05T19:13:15+00:00\",\"dateModified\":\"2024-06-19T12:27:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat.png\",\"width\":1308,\"height\":427,\"caption\":\"AddressInStringFormat\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Customer Address in String format in Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca\",\"name\":\"Khushboo Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Khushboo Sahu\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/khushboo-sahu062\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get Customer Address in String format in Magento 2 - Webkul Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Get Customer Address in String format in Magento 2 - Webkul Blog","og_description":"Hello Friends! In this blog, we are going to learn how we can get an address in string format. In the following controller, we have loaded an address by id and got the string format of that address. Now, when we execute this controller on the browser. We will get the result as following image:","og_url":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2021-10-05T19:13:15+00:00","article_modified_time":"2024-06-19T12:27:54+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png","type":"","width":"","height":""}],"author":"Khushboo Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Khushboo Sahu","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/"},"author":{"name":"Khushboo Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca"},"headline":"Get Customer Address in String format in Magento 2","datePublished":"2021-10-05T19:13:15+00:00","dateModified":"2024-06-19T12:27:54+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/"},"wordCount":63,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png","keywords":["address in string format","address string format","format address in string"],"articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/","name":"Get Customer Address in String format in Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat-1200x392.png","datePublished":"2021-10-05T19:13:15+00:00","dateModified":"2024-06-19T12:27:54+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/10\/AddressInStringFormat.png","width":1308,"height":427,"caption":"AddressInStringFormat"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/get-customer-address-in-string-format-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Get Customer Address in String format in Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca","name":"Khushboo Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Khushboo Sahu"},"url":"https:\/\/webkul.com\/blog\/author\/khushboo-sahu062\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/308357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/249"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=308357"}],"version-history":[{"count":3,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/308357\/revisions"}],"predecessor-version":[{"id":308361,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/308357\/revisions\/308361"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=308357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=308357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=308357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}