{"id":519,"date":"2022-11-02T11:52:30","date_gmt":"2022-11-02T11:52:30","guid":{"rendered":"https:\/\/www.devopstrainer.in\/blog\/?p=519"},"modified":"2022-11-02T11:53:31","modified_gmt":"2022-11-02T11:53:31","slug":"how-to-get-a-random-value-from-a-php-array-explain-with-example-2","status":"publish","type":"post","link":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/","title":{"rendered":"How to get a random value from a PHP array? explain with example"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg\" alt=\"\" class=\"wp-image-522\" width=\"796\" height=\"398\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg 1024w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php-300x150.jpg 300w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php-768x384.jpg 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><figcaption><strong><em>Random value from a PHP Array<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>In this query, you will get two functions to get random values out of an array in PHP. The shuffle() and array_rand() function is used to get random values out of an array.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>Input : $arr = (&#8220;a&#8221;=&gt;&#8221;31&#8221;, &#8220;b&#8221;=&gt;&#8221;41&#8221;, &#8220;c&#8221;=&gt;&#8221;9&#8221;, &#8220;d&#8221;=&gt;&#8221;30&#8221;)<\/p>\n\n\n\n<p>\/\/ Get one random value<br>Output: 9<\/p>\n\n\n\n<p>Input : $arr = (&#8220;a&#8221;=&gt;&#8221;31&#8221;, &#8220;b&#8221;=&gt;&#8221;41&#8221;, &#8220;c&#8221;=&gt;&#8221;9&#8221;, &#8220;d&#8221;=&gt;&#8221;30&#8221;)<\/p>\n\n\n\n<p>\/\/ Get two random values<br>Output: 31 41<br>Process 1: This method describes the shuffle() function to get a random value out of an array in PHP.<br>PHP | <strong>shuffle() Function<\/strong>: The shuffle() Function is an inbuilt function in PHP that is used to shuffle or randomize the order of the elements in an array. This function assigns new keys for the elements in the array. It will also remove any existing keys, rather than just reordering the keys and assigns numeric keys starting from zero.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n \n\/\/ Declare an associative array\n$arr = array( \"a\"=&gt;\"31\", \"b\"=&gt;\"41\", \"c\"=&gt;\"9\", \"d\"=&gt;\"30\" );\n \n\/\/ Use shuffle function to randomly assign numeric\n\/\/ key to all elements of array.\nshuffle($arr);\n \n\/\/ Display the first shuffle element of array\necho $arr&#91;0];\n \n?&gt;<\/code><\/pre>\n\n\n\n<p>Output:<br>41<\/p>\n\n\n\n<p>In the above example the keys of associative array have been changed. The shuffle() function has randomly assigned keys to elements starting from zero.<br>As shuffle() permanently change the keys of an array.<\/p>\n\n\n\n<p>Process 2: Use the array_rand() function to get a random value out of an array in PHP.<br>PHP | <strong>array_rand() Function:<\/strong> The array_rand() function is an inbuilt function in PHP which is used to fetch a random number of elements from an array.<br>The element is a key and can return one or more than one key.<\/p>\n\n\n\n<p>This function accepts two parameters $array and $num. The $array variable store the array elements and $num parameter holds the number of elements need to fetch. By default value of this parameter is 1.<\/p>\n\n\n\n<p>Example :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n \n\/\/ Declare an associative array\n$arr = array( \"a\"=&gt;\"31\", \"b\"=&gt;\"41\", \"c\"=&gt;\"9\", \"d\"=&gt;\"30\" );\n \n\/\/ Use array_rand function to returns random key\n$key = array_rand($arr);\n \n\/\/ Display the random array element\necho $arr&#91;$key];\n \n?&gt;<\/code><\/pre>\n\n\n\n<p>Output:<br>31<\/p>\n\n\n\n<p>In the above example, we didn\u2019t explicitly specified the value for second parameter so by default the value is 1, and array_rand() will return one random key.<\/p>\n\n\n\n<p>Example : This example explicitly specify the value for second parameter so the array_rand() function will return the array of random keys.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n \n\/\/ Declare an associative array\n$arr = array( \"a\"=&gt;\"31\", \"b\"=&gt;\"41\", \"c\"=&gt;\"9\", \"d\"=&gt;\"30\" );\n \n\/\/ It specify the number of element\n$num = 2;\n  \n\/\/ It returns array of random keys\n$keys = array_rand( $arr, $num );\n \n\/\/ Display the array element\necho $arr&#91;$keys&#91;0]].\" \".$arr&#91;$keys&#91;1]];\n \n?&gt;<\/code><\/pre>\n\n\n\n<p>Output:<br>31  9<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this query, you will get two functions to get random values out of an array in PHP. The shuffle() and array_rand() function is used to get&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[145,178,165,113,193],"tags":[218,216,221,220,217],"class_list":["post-519","post","type-post","status-publish","format-standard","hentry","category-array","category-array-elements","category-function","category-php","category-php-array","tag-array_rand-function","tag-get-a-random-value-from-a-php-array","tag-number-of-elements-from-an-array","tag-random-value-from-a-php","tag-shuffle-function"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to get a random value from a PHP array? explain with example - DevOps | SRE | DevSecOps<\/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:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to get a random value from a PHP array? explain with example - DevOps | SRE | DevSecOps\" \/>\n<meta property=\"og:description\" content=\"In this query, you will get two functions to get random values out of an array in PHP. The shuffle() and array_rand() function is used to get...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps | SRE | DevSecOps\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-02T11:52:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-02T11:53:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg\" \/>\n<meta name=\"author\" content=\"rahulkr kr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rahulkr kr\" \/>\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:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/\"},\"author\":{\"name\":\"rahulkr kr\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\"},\"headline\":\"How to get a random value from a PHP array? explain with example\",\"datePublished\":\"2022-11-02T11:52:30+00:00\",\"dateModified\":\"2022-11-02T11:53:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/\"},\"wordCount\":337,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/random-value-from-php.jpg\",\"keywords\":[\"array_rand() Function:\",\"Get a random value from a PHP array\",\"number of elements from an array\",\"random value from a PHP\",\"shuffle() Function\"],\"articleSection\":[\"Array\",\"Array Elements\",\"Function\",\"PHP\",\"PHP Array\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/\",\"name\":\"How to get a random value from a PHP array? explain with example - DevOps | SRE | DevSecOps\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/random-value-from-php.jpg\",\"datePublished\":\"2022-11-02T11:52:30+00:00\",\"dateModified\":\"2022-11-02T11:53:31+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/random-value-from-php.jpg\",\"contentUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/random-value-from-php.jpg\",\"width\":1024,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to get a random value from a PHP array? explain with example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/\",\"name\":\"DevOps | SRE | DevSecOps\",\"description\":\"Automation means Cost, Quality, Time\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\",\"name\":\"rahulkr kr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"caption\":\"rahulkr kr\"},\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/author\\\/rahulkr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to get a random value from a PHP array? explain with example - DevOps | SRE | DevSecOps","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:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/","og_locale":"en_US","og_type":"article","og_title":"How to get a random value from a PHP array? explain with example - DevOps | SRE | DevSecOps","og_description":"In this query, you will get two functions to get random values out of an array in PHP. The shuffle() and array_rand() function is used to get...","og_url":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/","og_site_name":"DevOps | SRE | DevSecOps","article_published_time":"2022-11-02T11:52:30+00:00","article_modified_time":"2022-11-02T11:53:31+00:00","og_image":[{"url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg","type":"","width":"","height":""}],"author":"rahulkr kr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rahulkr kr","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#article","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/"},"author":{"name":"rahulkr kr","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d"},"headline":"How to get a random value from a PHP array? explain with example","datePublished":"2022-11-02T11:52:30+00:00","dateModified":"2022-11-02T11:53:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/"},"wordCount":337,"commentCount":0,"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg","keywords":["array_rand() Function:","Get a random value from a PHP array","number of elements from an array","random value from a PHP","shuffle() Function"],"articleSection":["Array","Array Elements","Function","PHP","PHP Array"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/","url":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/","name":"How to get a random value from a PHP array? explain with example - DevOps | SRE | DevSecOps","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#primaryimage"},"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg","datePublished":"2022-11-02T11:52:30+00:00","dateModified":"2022-11-02T11:53:31+00:00","author":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d"},"breadcrumb":{"@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#primaryimage","url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg","contentUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/random-value-from-php.jpg","width":1024,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/www.devopstrainer.in\/blog\/how-to-get-a-random-value-from-a-php-array-explain-with-example-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.devopstrainer.in\/blog\/"},{"@type":"ListItem","position":2,"name":"How to get a random value from a PHP array? explain with example"}]},{"@type":"WebSite","@id":"https:\/\/www.devopstrainer.in\/blog\/#website","url":"https:\/\/www.devopstrainer.in\/blog\/","name":"DevOps | SRE | DevSecOps","description":"Automation means Cost, Quality, Time","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopstrainer.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d","name":"rahulkr kr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","caption":"rahulkr kr"},"url":"https:\/\/www.devopstrainer.in\/blog\/author\/rahulkr\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/comments?post=519"}],"version-history":[{"count":4,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/519\/revisions"}],"predecessor-version":[{"id":524,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/519\/revisions\/524"}],"wp:attachment":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/media?parent=519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/categories?post=519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/tags?post=519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}