{"id":216138,"date":"2019-12-23T10:27:44","date_gmt":"2019-12-23T10:27:44","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=216138"},"modified":"2019-12-26T04:15:50","modified_gmt":"2019-12-26T04:15:50","slug":"javascript-call-and-apply","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/","title":{"rendered":"Javascript call() and apply()"},"content":{"rendered":"\n<p>Hey,  If you want to learn javascript <strong>call()<\/strong> and <strong>apply()<\/strong> methods or want to know the differences between both of them then you must read this blog.<\/p>\n\n\n\n<p><strong>Simple object with the method<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"793\" height=\"196\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png\" alt=\"call2-1\" class=\"wp-image-216170\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png 793w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1-300x74.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1-250x62.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1-768x190.png 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In Javascript, Objects can have methods. If there is a method for which you are not using any object that means it belongs to the <strong>&#8220;window&#8221;<\/strong> object.<\/p>\n\n\n\n<p>The above example will output result <strong>&#8220;johndoe&#8221;<\/strong> because <strong>this<\/strong> keyword points to the current object and have properties <strong>&#8220;firstName&#8221;<\/strong> and <strong>&#8220;lastName&#8221;<\/strong><\/p>\n\n\n\n<p>Now let&#8217;s come to <strong>call()<\/strong> method part. <\/p>\n\n\n\n<p><strong>Syntax: <\/strong>obj.callingMethod.call(anotherObject, callingMethodArg1, callingMethodArg2\u2026.);<\/p>\n\n\n\n<p><strong>call()<\/strong> method is used for calling any object method with some arguments contains another object along with called function arguments. Please check the following example of<strong> call()<\/strong> method<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"785\" height=\"316\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call3.png\" alt=\"call3\" class=\"wp-image-216171\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call3.png 785w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call3-300x121.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call3-250x101.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call3-768x309.png 768w\" sizes=\"(max-width: 785px) 100vw, 785px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In this example, I just passed another object which is containing the same properties <strong>&#8220;firstName&#8221;<\/strong> and <strong>&#8220;lastName&#8221;<\/strong> so now <strong>this<\/strong> refers to the <strong>nameObj<\/strong> object in <strong>getName()<\/strong> method.<\/p>\n\n\n\n<p>Now let&#8217;s see the <strong>call()<\/strong> arguments<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"792\" height=\"314\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call4-1.png\" alt=\"call4-1\" class=\"wp-image-216197\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call4-1.png 792w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call4-1-300x119.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call4-1-250x99.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call4-1-768x304.png 768w\" sizes=\"(max-width: 792px) 100vw, 792px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In the upper example, <strong>getAddress()<\/strong> function can have two arguments city and country so I can pass calling function arguments as well.<\/p>\n\n\n\n<p>let&#8217;s see a different function which returns the only sum of two numbers<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"771\" height=\"104\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call5-1.png\" alt=\"call5-1\" class=\"wp-image-216207\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call5-1.png 771w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call5-1-300x40.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call5-1-250x34.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call5-1-768x104.png 768w\" sizes=\"(max-width: 771px) 100vw, 771px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Here you can see  I passed null because in javascript null is also an object. you can console this statement for checking<strong> typeof null;<\/strong><\/p>\n\n\n\n<p><strong>apply() method<\/strong><\/p>\n\n\n\n<p><strong>Syntax:<\/strong> obj.callingMethod.apply(anotherObject, arrayofArguments);<\/p>\n\n\n\n<p><strong>apply()<\/strong> method is used for calling any object method with some arguments contains another object along with called function arguments as an array.<\/p>\n\n\n\n<p>this method is very similar to <strong>call()<\/strong> but the only difference it takes called function arguments as an array instead of passing one by one. Please see the following example of finding maximum or minimum value in an array.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"784\" height=\"105\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call6.png\" alt=\"call6\" class=\"wp-image-216216\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call6.png 784w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call6-300x40.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call6-250x33.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call6-768x103.png 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>You can practice upper examples of <strong>call()<\/strong> method as well.<\/p>\n\n\n\n<p>I hope you had some basic idea of <strong>call()<\/strong> and<strong> apply() <\/strong>methods. You can now differentiate between <strong>call() <\/strong>and <strong>apply()<\/strong>. Thanks for your time.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey, If you want to learn javascript call() and apply() methods or want to know the differences between both of them then you must read this blog. Simple object with the method In Javascript, Objects can have methods. If there is a method for which you are not using any object that means it belongs <a href=\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":224,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[198],"tags":[],"class_list":["post-216138","post","type-post","status-publish","format-standard","hentry","category-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Javascript call() and apply() - 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\/javascript-call-and-apply\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Javascript call() and apply() - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Hey, If you want to learn javascript call() and apply() methods or want to know the differences between both of them then you must read this blog. Simple object with the method In Javascript, Objects can have methods. If there is a method for which you are not using any object that means it belongs [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/\" \/>\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=\"2019-12-23T10:27:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-26T04:15:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png\" \/>\n<meta name=\"author\" content=\"Prabhat Kumar\" \/>\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=\"Prabhat Kumar\" \/>\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\/javascript-call-and-apply\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/\"},\"author\":{\"name\":\"Prabhat Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/50845eb980b8da8dea2def8904ec5566\"},\"headline\":\"Javascript call() and apply()\",\"datePublished\":\"2019-12-23T10:27:44+00:00\",\"dateModified\":\"2019-12-26T04:15:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/\"},\"wordCount\":323,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png\",\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/\",\"url\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/\",\"name\":\"Javascript call() and apply() - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png\",\"datePublished\":\"2019-12-23T10:27:44+00:00\",\"dateModified\":\"2019-12-26T04:15:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png\",\"width\":793,\"height\":196,\"caption\":\"call2-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Javascript call() and apply()\"}]},{\"@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\/50845eb980b8da8dea2def8904ec5566\",\"name\":\"Prabhat Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dbb1bb221277f0b032626ee13cc25b7fc46c2271db1bdf289ecd45f9dc7bfc06?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\/dbb1bb221277f0b032626ee13cc25b7fc46c2271db1bdf289ecd45f9dc7bfc06?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Prabhat Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/prabhatkumar-oc082\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Javascript call() and apply() - 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\/javascript-call-and-apply\/","og_locale":"en_US","og_type":"article","og_title":"Javascript call() and apply() - Webkul Blog","og_description":"Hey, If you want to learn javascript call() and apply() methods or want to know the differences between both of them then you must read this blog. Simple object with the method In Javascript, Objects can have methods. If there is a method for which you are not using any object that means it belongs [...]","og_url":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-12-23T10:27:44+00:00","article_modified_time":"2019-12-26T04:15:50+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png","type":"","width":"","height":""}],"author":"Prabhat Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Prabhat Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/"},"author":{"name":"Prabhat Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/50845eb980b8da8dea2def8904ec5566"},"headline":"Javascript call() and apply()","datePublished":"2019-12-23T10:27:44+00:00","dateModified":"2019-12-26T04:15:50+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/"},"wordCount":323,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png","articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/","url":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/","name":"Javascript call() and apply() - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png","datePublished":"2019-12-23T10:27:44+00:00","dateModified":"2019-12-26T04:15:50+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/javascript-call-and-apply\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/call2-1.png","width":793,"height":196,"caption":"call2-1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/javascript-call-and-apply\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Javascript call() and apply()"}]},{"@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\/50845eb980b8da8dea2def8904ec5566","name":"Prabhat Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dbb1bb221277f0b032626ee13cc25b7fc46c2271db1bdf289ecd45f9dc7bfc06?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\/dbb1bb221277f0b032626ee13cc25b7fc46c2271db1bdf289ecd45f9dc7bfc06?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Prabhat Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/prabhatkumar-oc082\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/216138","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\/224"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=216138"}],"version-history":[{"count":11,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/216138\/revisions"}],"predecessor-version":[{"id":216248,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/216138\/revisions\/216248"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=216138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=216138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=216138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}