{"id":85784,"date":"2017-06-08T14:33:42","date_gmt":"2017-06-08T14:33:42","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=85784"},"modified":"2017-06-08T14:59:03","modified_gmt":"2017-06-08T14:59:03","slug":"add-category-opencart-using-casperjs","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/","title":{"rendered":"How To Add Category In Opencart Using CasperJS"},"content":{"rendered":"<p>In Opencart while adding product there is a field of the category. If the category is not selected then the product will not show up under any categories in the front end of the store. We can add the category in our Opencart store using CasperJS. In this blog, we will learn how to admin login in our Opencart store and after that, we will add the category.<\/p>\n<p>Firstly, we will create our script for admin login process and then, we will add the category in our Opencart store.<\/p>\n<p>For admin login and adding category in our Opencart store we have used fill(), casper.cli.get(), getTitle(), then(), getCurrentUrl() and click() methods.<\/p>\n<p>Following script is used to automate the admin login functionality:<\/p>\n<pre class=\"brush:js\">var casper = require('casper').create();\r\n \r\nvar url = casper.cli.get(0);\r\n \r\ncasper.start(url, function() {\r\n\tthis.echo('Login page Title:',\"INFO\"),\r\n    this.echo(this.getTitle());\r\n});\r\n \r\ncasper.then(function(){\r\n\tthis.fill('form', { \r\n\t    username: 'admin', \r\n\t    password: 'admin'\r\n\t}, true);\r\n\tthis.echo('Login Completed',\"INFO\");\r\n});\r\n\r\ncasper.wait(1000, function() {\r\n\tthis.echo('Category page Title:',\"INFO\"),\r\n    this.echo(this.getTitle());\r\n});<\/pre>\n<p>In the above script, casper.cli.get() is used to pass parameter while running the script and fill() is used to fill the data on the form.<\/p>\n<p>After successful login, now we will add data about the category. Following script is used to add the details of the\u00a0category:<\/p>\n<pre class=\"brush:js\">casper.then(function(){\r\n\tthis.fill('form#form-category', {\r\n\t    'category_description[1][name]' : 'Demo',\r\n        'category_description[1][description]' : 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.',\r\n\t    'category_description[1][meta_title]' : 'Demo',\r\n        'category_description[1][meta_description]' : 'Demo',\r\n        'category_description[1][meta_keyword]' : 'Demo',\r\n        'keyword' : 'demo-category',\r\n        'sort_order' : '2',\r\n        'status': '1'\r\n\t}, false);\r\n   \r\n});\r\n \r\ncasper.then(function(){\r\n  this.click(\".container-fluid button.btn.btn-primary\");\r\n});\r\n\r\ncasper.wait(1000, function() {\r\n    this.echo(this.getCurrentUrl());\r\n});\r\n\r\ncasper.then(function(){\r\n    \tif (casper.exists('#content &gt; div.container-fluid &gt; div.alert.alert-success')){\r\n\t\tthis.echo(this.fetchText('#content &gt; div.container-fluid &gt; div.alert.alert-success'),\"INFO\");\r\n\t}\r\n});<\/pre>\n<p>In the above script, all details of the category are filled and then clicking on save button will save the category. When the category is saved we are fetching current URL and successful message of category added.<\/p>\n<p>Here is the full script of login and add category process.<\/p>\n<pre class=\"brush:js\">\/**\r\n* Webkul Software.\r\n*\r\n* @category Webkul\r\n* @package Webkul_CasperJS\r\n* @author Webkul\r\n* @copyright Copyright (c) 2010-2017 Webkul Software Private Limited (https:\/\/webkul.com)\r\n* @license https:\/\/store.webkul.com\/license.html\r\n*\/\r\nvar casper = require('casper').create();\r\n \r\nvar url = casper.cli.get(0);\r\n \r\ncasper.start(url, function() {\r\n\tthis.echo('Login page Title:',\"INFO\"),\r\n    this.echo(this.getTitle());\r\n});\r\n \r\ncasper.then(function(){\r\n\tthis.fill('form', { \r\n\t    username: 'admin', \r\n\t    password: 'admin'\r\n\t}, true);\r\n\tthis.echo('Login Completed',\"INFO\");\r\n});\r\n\r\ncasper.wait(1000, function() {\r\n\tthis.echo('Category page Title:',\"INFO\"),\r\n    this.echo(this.getTitle());\r\n});\r\n\r\ncasper.then(function(){\r\n\tthis.fill('form#form-category', {\r\n\t    'category_description[1][name]' : 'Demo',\r\n        'category_description[1][description]' : 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.',\r\n\t    'category_description[1][meta_title]' : 'Demo',\r\n        'category_description[1][meta_description]' : 'Demo',\r\n        'category_description[1][meta_keyword]' : 'Demo',\r\n        'keyword' : 'demo-category',\r\n        'sort_order' : '2',\r\n        'status': '1'\r\n\t}, false);\r\n   \r\n});\r\n \r\ncasper.then(function(){\r\n  this.click(\".container-fluid button.btn.btn-primary\");\r\n});\r\n\r\ncasper.wait(1000, function() {\r\n    this.echo(this.getCurrentUrl());\r\n});\r\n\r\ncasper.then(function(){\r\n    \tif (casper.exists('#content &gt; div.container-fluid &gt; div.alert.alert-success')){\r\n\t\tthis.echo(this.fetchText('#content &gt; div.container-fluid &gt; div.alert.alert-success'),\"INFO\");\r\n\t}\r\n});\r\n \r\ncasper.run();<\/pre>\n<p>After preparing the script, you have to execute the command in terminal. The command for execution is:<\/p>\n<pre class=\"brush:js\">casperjs Category.js<\/pre>\n<p>Here, Category.js is the Java Script file in which we have written script for login and add a category in Opencart store process.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/06\/Screenshot_1.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-85632\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/06\/casper.png\" alt=\"casperjs\" width=\"300\" height=\"141\" loading=\"lazy\" \/> <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Opencart while adding product there is a field of the category. If the category is not selected then the product will not show up under any categories in the front end of the store. We can add the category in our Opencart store using CasperJS. In this blog, we will learn how to admin <a href=\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":146,"featured_media":70767,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4313],"tags":[4898,4900,4897,4899,3505,4895,4894],"class_list":["post-85784","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-casperjs","tag-add-category","tag-admin-login","tag-admin-login-and-add-category","tag-admin-login-in-opencart","tag-casperjs","tag-category-casperjs","tag-opencart-category-add"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Add Category In Opencart Using CasperJS - 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-category-opencart-using-casperjs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Add Category In Opencart Using CasperJS - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In Opencart while adding product there is a field of the category. If the category is not selected then the product will not show up under any categories in the front end of the store. We can add the category in our Opencart store using CasperJS. In this blog, we will learn how to admin [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/\" \/>\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-06-08T14:33:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-08T14:59:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.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=\"Ayushi Maheshwari\" \/>\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=\"Ayushi Maheshwari\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/\"},\"author\":{\"name\":\"Ayushi Maheshwari\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/897bb2bf612bc859fd56931946613b45\"},\"headline\":\"How To Add Category In Opencart Using CasperJS\",\"datePublished\":\"2017-06-08T14:33:42+00:00\",\"dateModified\":\"2017-06-08T14:59:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/\"},\"wordCount\":268,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png\",\"keywords\":[\"add category\",\"admin login\",\"admin login and add category\",\"admin login in opencart\",\"casperjs\",\"category casperjs\",\"opencart category add\"],\"articleSection\":[\"CasperJS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/\",\"url\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/\",\"name\":\"How To Add Category In Opencart Using CasperJS - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png\",\"datePublished\":\"2017-06-08T14:33:42+00:00\",\"dateModified\":\"2017-06-08T14:59:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Add Category In Opencart Using CasperJS\"}]},{\"@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\/897bb2bf612bc859fd56931946613b45\",\"name\":\"Ayushi Maheshwari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ebf29205b93e581980801acf5a754ee242f85bf00ec686d0b5e186c2ea81d6ac?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\/ebf29205b93e581980801acf5a754ee242f85bf00ec686d0b5e186c2ea81d6ac?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Ayushi Maheshwari\"},\"sameAs\":[\"http:\/\/webkul.com\/blog\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/ayushi981\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Add Category In Opencart Using CasperJS - 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-category-opencart-using-casperjs\/","og_locale":"en_US","og_type":"article","og_title":"How To Add Category In Opencart Using CasperJS - Webkul Blog","og_description":"In Opencart while adding product there is a field of the category. If the category is not selected then the product will not show up under any categories in the front end of the store. We can add the category in our Opencart store using CasperJS. In this blog, we will learn how to admin [...]","og_url":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-06-08T14:33:42+00:00","article_modified_time":"2017-06-08T14:59:03+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png","type":"image\/png"}],"author":"Ayushi Maheshwari","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ayushi Maheshwari","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/"},"author":{"name":"Ayushi Maheshwari","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/897bb2bf612bc859fd56931946613b45"},"headline":"How To Add Category In Opencart Using CasperJS","datePublished":"2017-06-08T14:33:42+00:00","dateModified":"2017-06-08T14:59:03+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/"},"wordCount":268,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png","keywords":["add category","admin login","admin login and add category","admin login in opencart","casperjs","category casperjs","opencart category add"],"articleSection":["CasperJS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/","url":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/","name":"How To Add Category In Opencart Using CasperJS - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png","datePublished":"2017-06-08T14:33:42+00:00","dateModified":"2017-06-08T14:59:03+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/casperjs.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/add-category-opencart-using-casperjs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Add Category In Opencart Using CasperJS"}]},{"@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\/897bb2bf612bc859fd56931946613b45","name":"Ayushi Maheshwari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ebf29205b93e581980801acf5a754ee242f85bf00ec686d0b5e186c2ea81d6ac?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\/ebf29205b93e581980801acf5a754ee242f85bf00ec686d0b5e186c2ea81d6ac?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Ayushi Maheshwari"},"sameAs":["http:\/\/webkul.com\/blog"],"url":"https:\/\/webkul.com\/blog\/author\/ayushi981\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/85784","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\/146"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=85784"}],"version-history":[{"count":4,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/85784\/revisions"}],"predecessor-version":[{"id":85827,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/85784\/revisions\/85827"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/70767"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=85784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=85784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=85784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}