{"id":70066,"date":"2017-01-02T05:52:33","date_gmt":"2017-01-02T05:52:33","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=70066"},"modified":"2023-05-09T13:54:18","modified_gmt":"2023-05-09T13:54:18","slug":"add-ip-opencarts-rest-api","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/","title":{"rendered":"How To Add IP In Opencart\u2019s Rest API"},"content":{"rendered":"\n<p>In our <a href=\"https:\/\/webkul.com\/blog\/use-opencarts-rest-api\/\">previous blog<\/a>, we learnt about the login process of OpenCart API&#8217;s . Today we will learn , how to add the IP address in the OpenCart API.<\/p>\n\n\n\n<p>The process is very simple , we just need to go to System-&gt;Users-&gt;API and then click on edit API and go to IP Addresses tab . Here you can add the IP .<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1200\" height=\"620\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/screenshot_1683262206105-4-1200x620.png\" alt=\"screenshot_1683262206105-4\" class=\"wp-image-380335\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/screenshot_1683262206105-4-1200x620.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/screenshot_1683262206105-4-300x155.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/screenshot_1683262206105-4-250x129.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/screenshot_1683262206105-4-768x397.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/screenshot_1683262206105-4.png 1294w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n<\/div>\n\n\n<p>After adding the IP address , we just need to click save and IP address will be saved .<\/p>\n\n\n\n<p>Now the question comes that why we need to add the IP address in the <a href=\"https:\/\/webkul.com\/opencart-development\/\">OpenCart API development<\/a>? The reason is that without adding the IP address , we can not login with the API whether we are providing the correct key or not . <\/p>\n\n\n\n<p>You can easily understood this by following code file :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:php\">\/**\n&nbsp;* Webkul Software.\n&nbsp;*\n&nbsp;* @category Webkul\n&nbsp;* @package&nbsp;api\n&nbsp;* @author Webkul\n&nbsp;* Webkul Software Private Limited (https:\/\/webkul.com)\n&nbsp;* @license https:\/\/store.webkul.com\/license.html\n&nbsp;*\/\n&lt;?php\nclass ControllerApiLogin extends Controller {\n\tpublic function index() {\n\t\t$this-&gt;load-&gt;language('api\/login');\n\n\t\t$json = $api_info = array();\n\n\t\t$this-&gt;load-&gt;model('account\/api');\n\n\t\t\/\/ Login with API Key\n\t\tif (isset($this-&gt;request-&gt;post['username']) &amp;&amp; isset($this-&gt;request-&gt;post['key'])) {\n\t\t\t$api_info = $this-&gt;model_account_api-&gt;login($this-&gt;request-&gt;post['username'], $this-&gt;request-&gt;post['key']);\n\t\t} elseif (isset($this-&gt;request-&gt;post['key'])) {\n\t\t\t$api_info = $this-&gt;model_account_api-&gt;login('Default', $this-&gt;request-&gt;post['key']);\n\t\t}\n\n\t\tif ($api_info) {\n\t\t\t\/\/ Check if IP is allowed\n\t\t\t$ip_data = array();\n\t\n\t\t\t$results = $this-&gt;model_account_api-&gt;getApiIps($api_info['api_id']);\n\t\n\t\t\tforeach ($results as $result) {\n\t\t\t\t$ip_data[] = trim($result['ip']);\n\t\t\t}\n\t\n\t\t\tif (!in_array($this-&gt;request-&gt;server['REMOTE_ADDR'], $ip_data)) {\n\t\t\t\t$json['error']['ip'] = sprintf($this-&gt;language-&gt;get('error_ip'), $this-&gt;request-&gt;server['REMOTE_ADDR']);\n\t\t\t}\t\t\t\t\n\t\t\t\t\n\t\t\tif (!$json) {\n\t\t\t\t$json['success'] = $this-&gt;language-&gt;get('text_success');\n\t\t\t\t\n\t\t\t\t$session = new Session($this-&gt;config-&gt;get('session_engine'), $this-&gt;registry);\n\t\t\t\t\n\t\t\t\t$session-&gt;start();\n\t\t\t\t\n\t\t\t\t$this-&gt;model_account_api-&gt;addApiSession($api_info['api_id'], $session-&gt;getId(), $this-&gt;request-&gt;server['REMOTE_ADDR']);\n\t\t\t\t\n\t\t\t\t$session-&gt;data['api_id'] = $api_info['api_id'];\n\t\t\t\t\n\t\t\t\t\/\/ Create Token\n\t\t\t\t$json['api_token'] = $session-&gt;getId();\n\t\t\t} else {\n\t\t\t\t$json['error']['key'] = $this-&gt;language-&gt;get('error_key');\n\t\t\t}\n\t\t}\n\t\t\n\t\t$this-&gt;response-&gt;addHeader('Content-Type: application\/json');\n\t\t$this-&gt;response-&gt;setOutput(json_encode($json));\n\t}\n}   \n<\/pre>\n\n\n\n<p>The main reason behind the scene is to increase the security. For example if any how, some one got the api key , then also he\/she can not login with the api and your data is safe . <\/p>\n\n\n\n<p>So the all process is done for the security purpose and to remove the chances of the theft of data .<\/p>\n\n\n\n<p>If you need custom&nbsp;<a href=\"https:\/\/webkul.com\/opencart-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">Opencart Development services<\/a>&nbsp;then feel free to&nbsp;<a href=\"https:\/\/webkul.com\/contacts\" target=\"_blank\" rel=\"noreferrer noopener\">reach us<\/a>&nbsp;and also explore our exclusive range of&nbsp;<a href=\"https:\/\/store.webkul.com\/OpenCart-Modules.html\" target=\"_blank\" rel=\"noreferrer noopener\">Opencart Extensions<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our previous blog, we learnt about the login process of OpenCart API&#8217;s . Today we will learn , how to add the IP address in the OpenCart API. The process is very simple , we just need to go to System-&gt;Users-&gt;API and then click on edit API and go to IP Addresses tab . <a href=\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":532,"featured_media":41008,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[305],"tags":[292,2253],"class_list":["post-70066","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-opencart","tag-api","tag-rest-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Add IP In Opencart\u2019s Rest API - 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\/add-ip-opencarts-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Add IP In Opencart\u2019s Rest API - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In our previous blog, we learnt about the login process of OpenCart API&#8217;s . Today we will learn , how to add the IP address in the OpenCart API. The process is very simple , we just need to go to System-&gt;Users-&gt;API and then click on edit API and go to IP Addresses tab . [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/\" \/>\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=\"2017-01-02T05:52:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-09T13:54:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"umeshkrsingh.cs211\" \/>\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=\"umeshkrsingh.cs211\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/\"},\"author\":{\"name\":\"umeshkrsingh.cs211\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e9c730d6d3fa4fec8431dca9fe94a6aa\"},\"headline\":\"How To Add IP In Opencart\u2019s Rest API\",\"datePublished\":\"2017-01-02T05:52:33+00:00\",\"dateModified\":\"2023-05-09T13:54:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/\"},\"wordCount\":223,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"keywords\":[\"api\",\"REST API\"],\"articleSection\":[\"opencart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/\",\"url\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/\",\"name\":\"How To Add IP In Opencart\u2019s Rest API - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"datePublished\":\"2017-01-02T05:52:33+00:00\",\"dateModified\":\"2023-05-09T13:54:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Add IP In Opencart\u2019s Rest API\"}]},{\"@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\/e9c730d6d3fa4fec8431dca9fe94a6aa\",\"name\":\"umeshkrsingh.cs211\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e3af4ef8742ce5ed8f08305b6c4f9bcd7e4011ee8649b8c6286aa4a11f0ad016?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\/e3af4ef8742ce5ed8f08305b6c4f9bcd7e4011ee8649b8c6286aa4a11f0ad016?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"umeshkrsingh.cs211\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/umeshkrsingh-cs211\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Add IP In Opencart\u2019s Rest API - 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\/add-ip-opencarts-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"How To Add IP In Opencart\u2019s Rest API - Webkul Blog","og_description":"In our previous blog, we learnt about the login process of OpenCart API&#8217;s . Today we will learn , how to add the IP address in the OpenCart API. The process is very simple , we just need to go to System-&gt;Users-&gt;API and then click on edit API and go to IP Addresses tab . [...]","og_url":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-01-02T05:52:33+00:00","article_modified_time":"2023-05-09T13:54:18+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","type":"image\/png"}],"author":"umeshkrsingh.cs211","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"umeshkrsingh.cs211","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/"},"author":{"name":"umeshkrsingh.cs211","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e9c730d6d3fa4fec8431dca9fe94a6aa"},"headline":"How To Add IP In Opencart\u2019s Rest API","datePublished":"2017-01-02T05:52:33+00:00","dateModified":"2023-05-09T13:54:18+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/"},"wordCount":223,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","keywords":["api","REST API"],"articleSection":["opencart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/","url":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/","name":"How To Add IP In Opencart\u2019s Rest API - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","datePublished":"2017-01-02T05:52:33+00:00","dateModified":"2023-05-09T13:54:18+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Opencart-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/add-ip-opencarts-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Add IP In Opencart\u2019s Rest API"}]},{"@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\/e9c730d6d3fa4fec8431dca9fe94a6aa","name":"umeshkrsingh.cs211","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e3af4ef8742ce5ed8f08305b6c4f9bcd7e4011ee8649b8c6286aa4a11f0ad016?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\/e3af4ef8742ce5ed8f08305b6c4f9bcd7e4011ee8649b8c6286aa4a11f0ad016?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"umeshkrsingh.cs211"},"url":"https:\/\/webkul.com\/blog\/author\/umeshkrsingh-cs211\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70066","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\/532"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=70066"}],"version-history":[{"count":14,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70066\/revisions"}],"predecessor-version":[{"id":380669,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70066\/revisions\/380669"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/41008"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=70066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=70066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=70066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}