{"id":72260,"date":"2017-01-20T10:17:34","date_gmt":"2017-01-20T10:17:34","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=72260"},"modified":"2017-01-20T11:07:08","modified_gmt":"2017-01-20T11:07:08","slug":"casperjs-save-href-and-title-array","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/","title":{"rendered":"Casperjs : How to Save All href and title in an Array"},"content":{"rendered":"<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.<\/p>\n<p>To get the all href and title of a selector we have used arrays to save them. you can check the following process.<\/p>\n<p><strong>1)<\/strong> To get the all href and title of a selector we have created two variables with blank arrays.<\/p>\n<pre class=\"brush:js\">var links = [];\r\nvar title = [];<\/pre>\n<p><strong>2)<\/strong> Then we have created two functions <strong>getLinks()<\/strong> and <strong>getTitle()<\/strong>.<\/p>\n<pre class=\"brush:js\">function getLinks() {\r\n    var links = document.querySelectorAll('your-selector');\r\n    return Array.prototype.map.call(links, function(e) {\r\n        return e.getAttribute('href');\r\n    });\r\n};\r\nfunction getTitle() {\r\n    var title = document.querySelectorAll('your-selector');\r\n    return Array.prototype.map.call(title, function(a) {\r\n        return a.getAttribute('title');\r\n    });\r\n};<\/pre>\n<p><strong>3)<\/strong> Then we have started the casper and\u00a0used\u00a0<strong>cli.get(0)<\/strong> for giving the url of the webpage\u00a0from terminal\u00a0and we have used\u00a0<strong>getCurrentUrl() <\/strong>to get the current url.<\/p>\n<p><strong>4)<\/strong> Then we have used evaluate() to save values in variables &#8216;links&#8217; and &#8216;title&#8217;.<\/p>\n<pre class=\"brush:js\">casper.then(function() {\r\n    links = this.evaluate(getLinks);\r\n});\r\ncasper.then(function() {\r\n    title = this.evaluate(getTitle);\r\n});<\/pre>\n<p><strong>5)<\/strong> Now we have fetched all the links and titles from the array.<\/p>\n<p>Here, you can check complete code &#8211;<\/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\n\r\nvar links = [];\r\nvar title = [];\r\nvar casper = require(\"casper\").create();\r\n\r\nfunction getLinks() {\r\n    var links = document.querySelectorAll('your-selector');\r\n    return Array.prototype.map.call(links, function(e) {\r\n        return e.getAttribute('href');\r\n    });\r\n};\r\nfunction getTitle() {\r\n    var title = document.querySelectorAll('your-selector');\r\n    return Array.prototype.map.call(title, function(a) {\r\n        return a.getAttribute('title');\r\n    });\r\n};\r\ncasper.start(casper.cli.get(0), function() {\r\n     this.echo('Current location is =' + this.getCurrentUrl(), 'COMMENT');\r\n\r\n});\r\n\r\n\/\/ save values in arrays\r\ncasper.then(function() {\r\n    links = this.evaluate(getLinks);\r\n});\r\ncasper.then(function() {\r\n    title = this.evaluate(getTitle);\r\n});\r\n\r\ncasper.run(function() {\r\n    \/\/ echo results in a desired pattern\r\n    this.echo(links.length + ' links found:', 'GREEN_BAR');\r\n    this.echo(' - ' + links.join('\\n - '));\r\n    this.echo(title.length + ' title found:', 'GREEN_BAR');\r\n    this.echo(' - ' + title.join('\\n - ')).exit();\r\n});<\/pre>\n<p>Now you have to run the command and you will get your result-<br \/>\n<strong>casperjs file_name.js http:\/\/your-page-url\/<\/strong><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-72276\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult1.png\" alt=\"\" width=\"721\" height=\"177\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult1.png 721w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult1-250x61.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult1-300x74.png 300w\" sizes=\"(max-width: 721px) 100vw, 721px\" loading=\"lazy\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-72278\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult2.png\" alt=\"\" width=\"475\" height=\"159\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult2.png 475w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult2-250x84.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/arrayresult2-300x100.png 300w\" sizes=\"(max-width: 475px) 100vw, 475px\" loading=\"lazy\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the installation and basic CasperJs knowledge you can check here. Now we&#8217;ll proceed with the testing process. To get the all href and title of a selector we have used arrays to save them. you can check the following process. 1) To get the all href and title of a selector we have created <a href=\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":66,"featured_media":72298,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4313],"tags":[3505,4380,4378,4377,4379],"class_list":["post-72260","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-casperjs","tag-casperjs","tag-fetch-data-from-an-array-using-casper","tag-get-href-using-casper","tag-get-title","tag-get-title-using-casper"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Casperjs : How to Save All href and title in an Array - 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\/casperjs-save-href-and-title-array\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Casperjs : How to Save All href and title in an Array - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"For the installation and basic CasperJs knowledge you can check here. Now we&#8217;ll proceed with the testing process. To get the all href and title of a selector we have used arrays to save them. you can check the following process. 1) To get the all href and title of a selector we have created [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/\" \/>\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-20T10:17:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-20T11:07:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/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\/casperjs-save-href-and-title-array\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/\"},\"author\":{\"name\":\"Shruti Baranwal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d90db6dde51254f8d7bda2539b81386e\"},\"headline\":\"Casperjs : How to Save All href and title in an Array\",\"datePublished\":\"2017-01-20T10:17:34+00:00\",\"dateModified\":\"2017-01-20T11:07:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/\"},\"wordCount\":159,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png\",\"keywords\":[\"casperjs\",\"fetch data from an array using casper\",\"get href using casper\",\"get title\",\"get title using casper\"],\"articleSection\":[\"CasperJS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/\",\"url\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/\",\"name\":\"Casperjs : How to Save All href and title in an Array - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png\",\"datePublished\":\"2017-01-20T10:17:34+00:00\",\"dateModified\":\"2017-01-20T11:07:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Casperjs : How to Save All href and title in an Array\"}]},{\"@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":"Casperjs : How to Save All href and title in an Array - 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\/casperjs-save-href-and-title-array\/","og_locale":"en_US","og_type":"article","og_title":"Casperjs : How to Save All href and title in an Array - Webkul Blog","og_description":"For the installation and basic CasperJs knowledge you can check here. Now we&#8217;ll proceed with the testing process. To get the all href and title of a selector we have used arrays to save them. you can check the following process. 1) To get the all href and title of a selector we have created [...]","og_url":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-01-20T10:17:34+00:00","article_modified_time":"2017-01-20T11:07:08+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/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\/casperjs-save-href-and-title-array\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/"},"author":{"name":"Shruti Baranwal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d90db6dde51254f8d7bda2539b81386e"},"headline":"Casperjs : How to Save All href and title in an Array","datePublished":"2017-01-20T10:17:34+00:00","dateModified":"2017-01-20T11:07:08+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/"},"wordCount":159,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png","keywords":["casperjs","fetch data from an array using casper","get href using casper","get title","get title using casper"],"articleSection":["CasperJS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/","url":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/","name":"Casperjs : How to Save All href and title in an Array - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png","datePublished":"2017-01-20T10:17:34+00:00","dateModified":"2017-01-20T11:07:08+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/01\/Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/casperjs-save-href-and-title-array\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Casperjs : How to Save All href and title in an Array"}]},{"@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\/72260","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=72260"}],"version-history":[{"count":12,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/72260\/revisions"}],"predecessor-version":[{"id":72311,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/72260\/revisions\/72311"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/72298"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=72260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=72260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=72260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}