{"id":70016,"date":"2016-12-30T14:51:14","date_gmt":"2016-12-30T14:51:14","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=70016"},"modified":"2023-09-20T13:23:29","modified_gmt":"2023-09-20T13:23:29","slug":"signup-opencart-using-casperjs","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/","title":{"rendered":"How to sign up in Opencart using CasperJS"},"content":{"rendered":"<p>As a user, registering for websites is no fun. Because it&#8217;s on a computer, it&#8217;s only slightly less annoying than filling out paper forms. Most of the time, all you want is to automate your work. If you haven\u2019t heard of \u201cCasperJS\u201d you just might be living in an old era.<\/p>\n<p>CasperJS eases the process of defining a full navigation scenario and provides useful high-level functions and methods. You can automate the signup process for <a href=\"https:\/\/store.webkul.com\/OpenCart-Modules.html\" target=\"_blank\" rel=\"noopener\">Opencart<\/a> using CasperJS.<\/p>\n<p>You can learn how to install casperJS from this link <a href=\"http:\/\/webkul.com\/blog\/functional-testing-casperjs\/\">http:\/\/webkul.com\/blog\/functional-testing-casperjs\/<\/a><\/p>\n<p>By default, a Casper instance won\u2019t print anything to the console. This can be very frustrating when creating or debugging scripts, so a good practice is to always start coding a script using these settings:<\/p>\n<pre class=\"brush:js\">var casper = require('casper').create({\nverbose: true,\nlogLevel: \"debug\"\n});<\/pre>\n<p>Using verbose settings you\u2019ll be able to trace every step made.<\/p>\n<p><strong>Here is the script that will explain the signup process. <\/strong><\/p>\n<p>Firstly, we will retrieve the current page title using <b>getTitle()<\/b>. After that, we will wait until an element matching the provided selector expression exists in DOM to process the next step using <b>waitForSelector()<\/b>.<\/p>\n<pre class=\"brush:js\">var url = 'http:\/\/example.com\/index.php?route=account\/register';\ncasper.start(url, function() {\nthis.echo(this.getTitle());\nthis.waitForSelector('form[action=\"' + url + '\"]');\n});<\/pre>\n<p>To fill in a form we will use the <strong>fill()<\/strong> method.<\/p>\n<pre class=\"brush:js\">casper.then(function(){\nthis.fill('form.form-horizontal', {\n'firstname' : 'John',\n'lastname' : 'Doe',\n'email' : 'john@webkul.com',\n'telephone' : '9520101010',\n'address_1' : 'A-67',\n'city' : 'noida',\n'postcode' : '201301',\n'password' : 'admin123',\n'confirm' : 'admin123',\n'agree' : '1',\n'zone_id': '3513'\n}, false);\n});<\/pre>\n<p>After filling out the signup form, we will submit the form. Here we use <b>then()<\/b> and <b>click()<\/b> methods.<\/p>\n<p><b>then()<\/b> method is the standard way to add a new navigation step by providing a simple function. You can add as many steps as you need.<\/p>\n<p><b>click()<\/b> method performs a click on the element matching the provided selector expression.<\/p>\n<pre class=\"brush:js\">casper.then(function(){\nthis.click(\".form-horizontal .btn.btn-primary\");\n});\n\n<\/pre>\n<p>The site may take some time to parse your script and render the views. Therefore, we will use <b>wait()<\/b> method. After waiting 2000 milliseconds we fill out the form.<\/p>\n<pre class=\"brush:js\">casper.wait(2000, function(){\nthis.echo(this.getCurrentUrl());\n});\n<\/pre>\n<p>Finally, we will run the test.<\/p>\n<pre class=\"brush:js\">casper.run(function(){\nthis.echo(\"done\");\n});<\/pre>\n<p>Here&#8217;s the full code:<\/p>\n<pre class=\"brush:js\">\/**\n* Webkul Software.\n*\n* @category Webkul\n* @package Webkul_CasperJS\n* @author Webkul\n* @copyright Copyright (c) Webkul Software Private Limited (https:\/\/webkul.com)\n* @license https:\/\/store.webkul.com\/license.html\n*\/\n\nvar casper = require('casper').create({\nverbose: true,\nlogLevel: 'debug',\n});\nvar url = 'http:\/\/shikhabr.com\/d4\/index.php?route=account\/register';\ncasper.start(url, function() {\nthis.echo(this.getTitle());\nthis.waitForSelector('form[action=\"' + url + '\"]');\n});\ncasper.then(function(){\nthis.fill('form.form-horizontal', {\n'firstname' : 'John',\n'lastname' : 'Doe',\n'email' : 'john@webkul.com',\n'telephone' : '9520101010',\n'address_1' : 'a-63',\n'city' : 'noida',\n'postcode' : '201301',\n'password' : 'admin123',\n'confirm' : 'admin123',\n'agree' : '1',\n'zone_id': '3513'\n}, false);\n});\ncasper.then(function(){\nthis.click(\".form-horizontal .btn.btn-primary\");\n});\ncasper.wait(2000, function(){\nthis.echo(this.getCurrentUrl());\n});\ncasper.run(function(){\nthis.echo(\"done\");\n});\n<\/pre>\n<p>After preparing the script, you have to execute the command in the terminal. Here is the command.<\/p>\n<pre class=\"brush:js\">$ casperjs OcSignup.js\n\n<\/pre>\n<p>Here, OcSignup.js is the js file in which we have written a script for the sign-up process. You can see the output of the above code in the terminal.<br \/>\n<a href=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Signup.png\"><img decoding=\"async\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Signup.png\" alt=\"signup\" loading=\"lazy\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a user, registering for websites is no fun. Because it&#8217;s on a computer, it&#8217;s only slightly less annoying than filling out paper forms. Most of the time, all you want is to automate your work. If you haven\u2019t heard of \u201cCasperJS\u201d you just might be living in an old era. CasperJS eases the process <a href=\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":36,"featured_media":70036,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[305],"tags":[3505,4276,4277],"class_list":["post-70016","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-opencart","tag-casperjs","tag-opencart-sign-up-process","tag-signup-using-casperjs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to sign up 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\/signup-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 sign up in Opencart using CasperJS - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"As a user, registering for websites is no fun. Because it&#8217;s on a computer, it&#8217;s only slightly less annoying than filling out paper forms. Most of the time, all you want is to automate your work. If you haven\u2019t heard of \u201cCasperJS\u201d you just might be living in an old era. CasperJS eases the process [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/signup-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=\"2016-12-30T14:51:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-20T13:23:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/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=\"Shikha Bhardwaj\" \/>\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=\"Shikha Bhardwaj\" \/>\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\/signup-opencart-using-casperjs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/\"},\"author\":{\"name\":\"Shikha Bhardwaj\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e44090b9dd8c2c58a3c78aa1d884c030\"},\"headline\":\"How to sign up in Opencart using CasperJS\",\"datePublished\":\"2016-12-30T14:51:14+00:00\",\"dateModified\":\"2023-09-20T13:23:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/\"},\"wordCount\":346,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png\",\"keywords\":[\"casperjs\",\"Opencart sign up process\",\"Signup using CasperJS\"],\"articleSection\":[\"opencart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/\",\"url\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/\",\"name\":\"How to sign up in Opencart using CasperJS - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png\",\"datePublished\":\"2016-12-30T14:51:14+00:00\",\"dateModified\":\"2023-09-20T13:23:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to sign up 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\/e44090b9dd8c2c58a3c78aa1d884c030\",\"name\":\"Shikha Bhardwaj\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8ada4c680b1ae3947314d3784bd12a6c5787f89723b2479a4261308bae1c1e0e?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\/8ada4c680b1ae3947314d3784bd12a6c5787f89723b2479a4261308bae1c1e0e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Shikha Bhardwaj\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/shikha\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to sign up 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\/signup-opencart-using-casperjs\/","og_locale":"en_US","og_type":"article","og_title":"How to sign up in Opencart using CasperJS - Webkul Blog","og_description":"As a user, registering for websites is no fun. Because it&#8217;s on a computer, it&#8217;s only slightly less annoying than filling out paper forms. Most of the time, all you want is to automate your work. If you haven\u2019t heard of \u201cCasperJS\u201d you just might be living in an old era. CasperJS eases the process [...]","og_url":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-12-30T14:51:14+00:00","article_modified_time":"2023-09-20T13:23:29+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png","type":"image\/png"}],"author":"Shikha Bhardwaj","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Shikha Bhardwaj","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/"},"author":{"name":"Shikha Bhardwaj","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e44090b9dd8c2c58a3c78aa1d884c030"},"headline":"How to sign up in Opencart using CasperJS","datePublished":"2016-12-30T14:51:14+00:00","dateModified":"2023-09-20T13:23:29+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/"},"wordCount":346,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png","keywords":["casperjs","Opencart sign up process","Signup using CasperJS"],"articleSection":["opencart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/","url":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/","name":"How to sign up in Opencart using CasperJS - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png","datePublished":"2016-12-30T14:51:14+00:00","dateModified":"2023-09-20T13:23:29+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/casperjs.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/signup-opencart-using-casperjs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to sign up 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\/e44090b9dd8c2c58a3c78aa1d884c030","name":"Shikha Bhardwaj","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8ada4c680b1ae3947314d3784bd12a6c5787f89723b2479a4261308bae1c1e0e?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\/8ada4c680b1ae3947314d3784bd12a6c5787f89723b2479a4261308bae1c1e0e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Shikha Bhardwaj"},"url":"https:\/\/webkul.com\/blog\/author\/shikha\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70016","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\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=70016"}],"version-history":[{"count":22,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70016\/revisions"}],"predecessor-version":[{"id":401468,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70016\/revisions\/401468"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/70036"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=70016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=70016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=70016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}