{"id":428561,"date":"2024-03-20T07:34:32","date_gmt":"2024-03-20T07:34:32","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=428561"},"modified":"2024-03-21T09:55:01","modified_gmt":"2024-03-21T09:55:01","slug":"create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/","title":{"rendered":"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7"},"content":{"rendered":"\n<p>In this blog, We are going to learn how we can create webservice resource &amp; assign permission to this resource using code in PrestaShop 1.7.<\/p>\n\n\n\n<p>Sometimes we don&#8217;t have access to webservices tab inside Advanced Parameters &gt; WebService. So we can manage webservice related things using code. Let&#8217;s understand things using code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1:<\/h3>\n\n\n\n<p>As we know if we want to add a new webservice resource in PrestaShop 1.7 then we need to register a hook.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$this-&gt;registerHook(&#039;addWebserviceResources&#039;);<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2:<\/h3>\n\n\n\n<p>After this, We need to register a resource using this hook.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/**\n* Add a specific_management resource\n* This hook is only in PS17\n*\n* @param array $resources\n* @return void\n*\/\npublic function hookAddWebserviceResources($params)\n{\n    $params&#091;&#039;resources&#039;]&#091;&#039;RESOURCE_NAME&#039;] = array(&#039;description&#039; =&gt; &#039;RESOURCE_DESCRIPTION&#039;);\n\n    return $params&#091;&#039;resources&#039;];\n}<\/pre>\n\n\n\n<p>If the resource is related to specific management then follow the below code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function hookAddWebserviceResources($params)\n{\n    $params&#091;&#039;resources&#039;]&#091;&#039;RESOURCE_NAME&#039;] = array(&#039;description&#039; =&gt; &#039;RESOURCE_DESCRIPTION&#039;, &#039;specific_management&#039; =&gt; true);\n\n    return $params&#091;&#039;resources&#039;];\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3:<\/h3>\n\n\n\n<p>Now we need to add some custom code in your install function to manage things at run time while installing the module.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function install()\n{\n    if (!parent::install()\n        || !$this-&gt;registerHook(&#039;addWebserviceResources&#039;)\n    ) {\n        return false;\n    }\n\n    Configuration::updateValue(&#039;PS_WEBSERVICE&#039;, 1); \/\/ Code added to enable prestashop webservice\n    $apiAccess = new WebserviceKey();\n    $apiAccess-&gt;key = $this-&gt;generateWebserviceKey(32); \/\/ Function to generate 32 character alphanumeric ws key\n    $apiAcesss-&gt;save();\n\n    $account_id = $apiAccess-&gt;id;\n\n    $permissions = array(\n        &#039;RESOURCE_NAME&#039; =&gt; &#091;&#039;GET&#039; =&gt; 1, &#039;POST&#039; =&gt; 1, &#039;PUT&#039; =&gt; 1, &#039;DELETE&#039; =&gt; 1, &#039;HEAD&#039; =&gt; 1]\n    );\n\n    $response = WebserviceKey::setPermissionForAccount($apiAccess-&gt;id, $permissions);\n\n    return true;\n}\n\n\/\/ Custom function to generate 32 character alphanumeric ws key\n\nfunction generateWebserviceKey($length) {\n    $key = &#039;&#039;;\n    $keys = array_merge(range(0, 9), range(&#039;a&#039;, &#039;z&#039;));\n\n    for ($i = 0; $i &lt; $length; $i++) {\n        $key .= $keys&#091;array_rand($keys)];\n    }\n\n    return strtoupper($key);\n}<\/pre>\n\n\n\n<p>Now you will see that webservice key &amp; permission are automatically created when we install the module.<\/p>\n\n\n\n<p>That\u2019s all about this blog. Hope it will help you.<\/p>\n\n\n\n<p>If you are facing any issues or have any doubts about the above process, please feel free to contact us through the comment section.<\/p>\n\n\n\n<p>Also, you can explore our <a href=\"https:\/\/webkul.com\/prestashop-development\/\">PrestaShop Development Services<\/a> and a large range of quality <a href=\"https:\/\/store.webkul.com\/PrestaShop-Extensions.html\">PrestaShop Modules<\/a>.<\/p>\n\n\n\n<p>For any doubt contact us at support@webkul.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, We are going to learn how we can create webservice resource &amp; assign permission to this resource using code in PrestaShop 1.7. Sometimes we don&#8217;t have access to webservices tab inside Advanced Parameters &gt; WebService. So we can manage webservice related things using code. Let&#8217;s understand things using code. Step 1: As <a href=\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":387,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209,1172],"tags":[2065,293,3294],"class_list":["post-428561","post","type-post","status-publish","format-standard","hentry","category-prestashop","category-web-service","tag-prestashop","tag-webservice","tag-webservice-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"In this blog, We are going to learn that how we can create webservice resource &amp; assign permission to this resource using code in PrestaShop 1.7.\" \/>\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\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, We are going to learn that how we can create webservice resource &amp; assign permission to this resource using code in PrestaShop 1.7.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\" \/>\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=\"2024-03-20T07:34:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-21T09:55:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sunny Kumar\" \/>\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=\"Sunny Kumar\" \/>\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\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\"},\"author\":{\"name\":\"Sunny Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/82afaa5265683f080b52d639e7cdaf67\"},\"headline\":\"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7\",\"datePublished\":\"2024-03-20T07:34:32+00:00\",\"dateModified\":\"2024-03-21T09:55:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\"},\"wordCount\":210,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"keywords\":[\"prestashop\",\"webservice\",\"Webservice API\"],\"articleSection\":[\"prestashop\",\"web service\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\",\"url\":\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\",\"name\":\"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2024-03-20T07:34:32+00:00\",\"dateModified\":\"2024-03-21T09:55:01+00:00\",\"description\":\"In this blog, We are going to learn that how we can create webservice resource & assign permission to this resource using code in PrestaShop 1.7.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7\"}]},{\"@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\/82afaa5265683f080b52d639e7cdaf67\",\"name\":\"Sunny Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sunny Kumar\"},\"description\":\"Sunny, a Prestashop virtuoso, crafts innovative eCommerce solutions. His expertise in marketplace development is unparalleled, seamlessly integrating modules. With precision coding, Sunny creates robust online stores, ensuring a seamless user experience. His engineering prowess enhances digital retail, leaving a lasting impact on the Prestashop community.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/sunny-kumar912\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7 - Webkul Blog","description":"In this blog, We are going to learn that how we can create webservice resource & assign permission to this resource using code in PrestaShop 1.7.","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\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/","og_locale":"en_US","og_type":"article","og_title":"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7 - Webkul Blog","og_description":"In this blog, We are going to learn that how we can create webservice resource & assign permission to this resource using code in PrestaShop 1.7.","og_url":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2024-03-20T07:34:32+00:00","article_modified_time":"2024-03-21T09:55:01+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Sunny Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sunny Kumar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/"},"author":{"name":"Sunny Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/82afaa5265683f080b52d639e7cdaf67"},"headline":"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7","datePublished":"2024-03-20T07:34:32+00:00","dateModified":"2024-03-21T09:55:01+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/"},"wordCount":210,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"keywords":["prestashop","webservice","Webservice API"],"articleSection":["prestashop","web service"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/","url":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/","name":"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2024-03-20T07:34:32+00:00","dateModified":"2024-03-21T09:55:01+00:00","description":"In this blog, We are going to learn that how we can create webservice resource & assign permission to this resource using code in PrestaShop 1.7.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/create-webservice-resource-assign-permission-to-resource-using-code-in-prestashop-1-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create webservice resource &amp; assign permission to resource using code in PrestaShop 1.7"}]},{"@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\/82afaa5265683f080b52d639e7cdaf67","name":"Sunny Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/71f74f424b1b289dfe7a885325f69bf2ecd11c159d2c3ee19fc5df341650df4c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sunny Kumar"},"description":"Sunny, a Prestashop virtuoso, crafts innovative eCommerce solutions. His expertise in marketplace development is unparalleled, seamlessly integrating modules. With precision coding, Sunny creates robust online stores, ensuring a seamless user experience. His engineering prowess enhances digital retail, leaving a lasting impact on the Prestashop community.","url":"https:\/\/webkul.com\/blog\/author\/sunny-kumar912\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/428561","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\/387"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=428561"}],"version-history":[{"count":4,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/428561\/revisions"}],"predecessor-version":[{"id":428957,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/428561\/revisions\/428957"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=428561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=428561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=428561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}