{"id":70249,"date":"2017-01-03T08:07:07","date_gmt":"2017-01-03T08:07:07","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=70249"},"modified":"2017-01-03T10:38:45","modified_gmt":"2017-01-03T10:38:45","slug":"signup-magento2-using-casperjs","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/","title":{"rendered":"How to Sign Up in Magento2 Using CasperJS"},"content":{"rendered":"<p>Testing can be boring and time consuming task if you are performing\u00a0same task multiple times. To make it easier have\u00a0to use some tools. In Magento there are various \u201crepetitive\u201d tasks that need to be done after the first install like we need to create a test account, add product in cart order placement etc. CasperJs is the best tool to overcome this problem.<\/p>\n<p>CasperJS allows you to build full navigation scenarios using high-level functions and a straight forward interface to accomplish all sizes of tasks. CasperJS comes with a basic testing suite that allows you to run full featured tests without the overhead of a full browser.<\/p>\n<p>For the <strong>installation<\/strong> and <strong>basic CasperJs knowledge<\/strong> you can check <strong><a href=\"http:\/\/webkul.com\/blog\/functional-testing-casperjs\/\" target=\"_blank\">here<\/a><\/strong>. Now we&#8217;ll proceed with the testing process. Here we&#8217;ll get to learn how we can register or signup a new customer using CasperJs into a magento2 store.<\/p>\n<p>The code procedure is as follows-<br \/>\nOpen home page of your Magento2 store, click on &#8220;Create an Account&#8221; link, open \u201cCreate New Customer Account\u201d page to fill out the form, submit it, wait to be redirected to &#8220;My Account Dashboard and then get url of the dashboard page along with screenshot.<\/p>\n<p>Here we have used some Casperjs methods like-<\/p>\n<p><strong>click()<\/strong> method is used to click a link and buttons.<\/p>\n<p><strong>capture()<\/strong> method is user to capture the particular page and you can see the screenshots parallel to your script.<\/p>\n<p><strong>fill()<\/strong> method is used to fill the forms.<\/p>\n<p><strong>getCurrentUrl() <\/strong>is used to get the current page url.<\/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-2016 Webkul Software Private Limited (https:\/\/webkul.com)\r\n* @license https:\/\/store.webkul.com\/license.html\r\n*\/\r\n\r\nvar BASE_URL = casper.cli.get('url');\/\/'url' will be entered on terminal\r\n\r\n\/\/ Go to home page\r\ncasper.test.comment('Go to Home Page');\r\ncasper.start(BASE_URL, function() {\r\n    this.test.pass('Home page was loaded');\r\n});\r\n\/\/ Click on \"Create an account Option\"\r\ncasper.then(function () {\r\n    this.click('ul.header li:last-child a:last-child');\r\n    this.test.pass('register page was loaded');\r\n});\r\n\/\/ Fill Create New Customer Account form\r\ncasper.then(function () {\r\n    this.test.info('Current location is ' + this.getCurrentUrl());\r\n    this.fill('form#form-validate', {\r\n        'firstname': 'John',\r\n        'lastname': 'Doe',\r\n        'email': 'john@doe.com',\r\n        'password': 'Admin123',\r\n        'password_confirmation': 'Admin123'\r\n    }, true);\r\n    this.capture('form_populated.png'); \/\/you'll see the screenshot of populated form parallel to your script.\r\n    this.test.pass('form populated');\r\n});\r\n\r\n\/\/ Registration completed\r\ncasper.then(function() {\r\n    this.test.info('Current location is ' + this.getCurrentUrl());\r\n    this.test.pass('Registered');\r\n});\r\n\/\/ Account dashboard\/welcome page\r\ncasper.then(function() {\r\n    casper.wait(2000, function () {\r\n        this.capture('dashboard.png'); \/\/you'll see the screenshot of Dashboard parallel to your script.\r\n        this.test.pass('Dashboard In');\r\n    });\r\n});\r\ncasper.run(function () {\r\n    this.test.done();\r\n});<\/pre>\n<p>Now you have to run a command on your terminal-<\/p>\n<p><strong>casperjs test your_file_name.js &#8211;url=http:\/\/your_magento_homepage<\/strong><\/p>\n<p>Here, you can see the result on your terminal &#8211;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-70325 size-full\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/terminal.png\" width=\"734\" height=\"257\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/terminal.png 734w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/terminal-250x88.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/terminal-300x105.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" loading=\"lazy\" \/><\/p>\n<p>After completing the test execution you can see the screenshots parallel to your script.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Testing can be boring and time consuming task if you are performing\u00a0same task multiple times. To make it easier have\u00a0to use some tools. In Magento there are various \u201crepetitive\u201d tasks that need to be done after the first install like we need to create a test account, add product in cart order placement etc. CasperJs <a href=\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":66,"featured_media":70261,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,302],"tags":[3505,4290,4291,4292,4277],"class_list":["post-70249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento","category-magento2","tag-casperjs","tag-magento-automation","tag-magento-signup","tag-magento2-signup","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 Magento2 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-magento2-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 Magento2 Using CasperJS - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Testing can be boring and time consuming task if you are performing\u00a0same task multiple times. To make it easier have\u00a0to use some tools. In Magento there are various \u201crepetitive\u201d tasks that need to be done after the first install like we need to create a test account, add product in cart order placement etc. CasperJs [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/signup-magento2-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-01-03T08:07:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-03T10:38:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-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=\"Shruti Baranwal\" \/>\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=\"Shruti Baranwal\" \/>\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-magento2-using-casperjs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/\"},\"author\":{\"name\":\"Shruti Baranwal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d90db6dde51254f8d7bda2539b81386e\"},\"headline\":\"How to Sign Up in Magento2 Using CasperJS\",\"datePublished\":\"2017-01-03T08:07:07+00:00\",\"dateModified\":\"2017-01-03T10:38:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/\"},\"wordCount\":307,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"keywords\":[\"casperjs\",\"magento automation\",\"magento signup\",\"magento2 signup\",\"Signup using CasperJS\"],\"articleSection\":[\"magento\",\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/\",\"url\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/\",\"name\":\"How to Sign Up in Magento2 Using CasperJS - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"datePublished\":\"2017-01-03T08:07:07+00:00\",\"dateModified\":\"2017-01-03T10:38:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/signup-magento2-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 Magento2 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\/d90db6dde51254f8d7bda2539b81386e\",\"name\":\"Shruti Baranwal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2ecd6b094113b3e2f346229e04e90fcb6e242f28b3a1dbcb2f44fd9eefb93dbc?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\/2ecd6b094113b3e2f346229e04e90fcb6e242f28b3a1dbcb2f44fd9eefb93dbc?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Shruti Baranwal\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/shruti-baranwal890\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Sign Up in Magento2 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-magento2-using-casperjs\/","og_locale":"en_US","og_type":"article","og_title":"How to Sign Up in Magento2 Using CasperJS - Webkul Blog","og_description":"Testing can be boring and time consuming task if you are performing\u00a0same task multiple times. To make it easier have\u00a0to use some tools. In Magento there are various \u201crepetitive\u201d tasks that need to be done after the first install like we need to create a test account, add product in cart order placement etc. CasperJs [...]","og_url":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-01-03T08:07:07+00:00","article_modified_time":"2017-01-03T10:38:45+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","type":"image\/png"}],"author":"Shruti Baranwal","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Shruti Baranwal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/"},"author":{"name":"Shruti Baranwal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d90db6dde51254f8d7bda2539b81386e"},"headline":"How to Sign Up in Magento2 Using CasperJS","datePublished":"2017-01-03T08:07:07+00:00","dateModified":"2017-01-03T10:38:45+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/"},"wordCount":307,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","keywords":["casperjs","magento automation","magento signup","magento2 signup","Signup using CasperJS"],"articleSection":["magento","Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/","url":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/","name":"How to Sign Up in Magento2 Using CasperJS - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","datePublished":"2017-01-03T08:07:07+00:00","dateModified":"2017-01-03T10:38:45+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/signup-magento2-using-casperjs\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Magneto-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/signup-magento2-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 Magento2 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\/d90db6dde51254f8d7bda2539b81386e","name":"Shruti Baranwal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2ecd6b094113b3e2f346229e04e90fcb6e242f28b3a1dbcb2f44fd9eefb93dbc?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\/2ecd6b094113b3e2f346229e04e90fcb6e242f28b3a1dbcb2f44fd9eefb93dbc?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Shruti Baranwal"},"url":"https:\/\/webkul.com\/blog\/author\/shruti-baranwal890\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70249","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\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=70249"}],"version-history":[{"count":20,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70249\/revisions"}],"predecessor-version":[{"id":70347,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/70249\/revisions\/70347"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/70261"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=70249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=70249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=70249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}