{"id":5356,"date":"2015-08-15T17:33:48","date_gmt":"2015-08-15T15:33:48","guid":{"rendered":"https:\/\/www.creativejuiz.fr\/blog\/en\/?p=5356"},"modified":"2022-10-25T21:19:55","modified_gmt":"2022-10-25T19:19:55","slug":"read-url-get-parameters-with-javascript","status":"publish","type":"post","link":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript","title":{"rendered":"Read URL GET parameters with JavaScript"},"content":{"rendered":"<p>Seems to be really easy when you think about it. Though, during the same week, we questioned me two times about that. In a server language, getting the URL parameters is really easy. But JavaScript doesn&#8217;t offer a way to do it natively. I propose to you a little function to do so, but perhaps other ways exist already.<!--more--><\/p>\n<h2>The PHP way to get Get Parameters<\/h2>\n<p>When parameter are in URL, PHP allows getting them easily.<br \/>\nExample with this URL: <code>http:\/\/mydomain.tld\/?name=geoffrey<\/code><\/p>\n<pre class=\"code\"><code class=\"language-php\">&lt;?php\r\n\techo $_GET['name']; \/\/ display 'geoffrey'\r\n?&gt;<\/code><\/pre>\n<p>If several parameters are one after the other, we get somehting like that:<br \/>\n<code>http:\/\/mydomain.tld\/?name=geoffrey&amp;age=42<\/code><\/p>\n<pre class=\"code\"><code class=\"language-php\">&lt;?php\r\n\techo $_GET['name']; \/\/ display 'geoffrey'\r\n\techo $_GET['age']; \/\/ display '42'\r\n?&gt;<\/code><\/pre>\n<p>It&#8217;s this behavior I want to mimic in JS.<\/p>\n<h2>The JavaScript way to get URL Parameters<\/h2>\n<p>I&#8217;ll try to get as close as I can to what PHP returns. In other words, if a parameter is declared a second time, I pick the last one. The param value is optional (the term just after the equal symbol) and will return an empty string.<\/p>\n<pre class=\"code\"><code class=\"language-javascript\">function $_GET(param) {\r\n\tvar vars = {};\r\n\twindow.location.href.replace( location.hash, '' ).replace( \r\n\t\t\/[?&amp;]+([^=&amp;]+)=?([^&amp;]*)?\/gi, \/\/ regexp\r\n\t\tfunction( m, key, value ) { \/\/ callback\r\n\t\t\tvars[key] = value !== undefined ? value : '';\r\n\t\t}\r\n\t);\r\n\r\n\tif ( param ) {\r\n\t\treturn vars[param] ? vars[param] : null;\t\r\n\t}\r\n\treturn vars;\r\n}<\/code><\/pre>\n<p>With that JS function, you have two ways to do the work:<\/p>\n<pre class=\"code\"><code class=\"language-javascript\">var name = $_GET('name'),\r\n    age = $_GET('age');<\/code><\/pre>\n<p>or, the second one, more efficient:<\/p>\n<pre class=\"code\"><code class=\"language-javascript\">var $_GET = $_GET(),\r\n    name = $_GET['name'],\r\n    age = $_GET['age'];<\/code><\/pre>\n<p>Of course, I played with the names of the function and variable, copying the <code>$_GET<\/code> name, just to show you that it&#8217;s possible. But in a real web project, regarding its conventions (naming) especially if you use jQuery, you will probably have to rename all the <code>$_GET<\/code> occurrences.<\/p>\n<p>If you need to get more complexe values which could be encoded in the URI (for example, this parameter <code>?test=Hello, World!<\/code>, use the <code>decodeURI()<\/code> function like that:<\/p>\n<pre class=\"code\"><code class=\"language-javascript\">var deco_var = decodeURL( $_GET( 'test' ) );<\/code><\/pre>\n<p>Your turn to play!<\/p>\n<h2>Other methods to get URL Parameters in JS<\/h2>\n<p>Thanks to Twitter, and the time passing\u2026 I&#8217;ve completed this article with two other ways with the same goal:<\/p>\n<ul>\n<li><a href=\"https:\/\/developer.mozilla.org\/fr\/docs\/Web\/API\/window\/location#Exemple_6_.3A_Placer_les_valeurs_obtenues_par_window.location.search_dans_un_objet_nomm.C3.A9_oParametres\">window.location.search<\/a> which allows you to access directly to everything found just after the &#8220;?&#8221; mark in the URL.<br \/>\nThank you to <a href=\"https:\/\/twitter.com\/nhoizey\">Nicolas Hoizey<\/a> for that information.<\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/URLSearchParams\">URLSearchParams<\/a> which has its own methods (get(), getAll(), etc.) but which is very experimental at the time of writing these lines.<br \/>\nThank you to <a href=\"https:\/\/twitter.com\/7studio\">Xavier Zalawa<\/a> for that information.<\/li>\n<\/ul>\n<div class=\"sources\">\n<h2>Sources and useful links<\/h2>\n<ul>\n<li><a href=\"http:\/\/papermashup.com\/read-url-get-variables-withjavascript\/\">Papermashup<\/a><\/li>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/5448545\/how-to-retrieve-get-parameters-from-javascript\">Stackoverflow<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Seems to be really easy when you think about it. Though, during the same week, we questioned me two times about that. In a server language, getting the URL parameters is really easy. But JavaScript doesn&#8217;t offer a way to do it natively. I propose to you a little function to do so, but perhaps [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":5353,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bluesky_dont_syndicate":"","_bluesky_syndication_accounts":"","_bluesky_syndication_text":"","footnotes":""},"categories":[657],"tags":[678],"coauthors":[597],"class_list":["post-5356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript-en","tag-tips"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Seems to be really easy when you think about it. Though, during the same week, we questioned me two times about that. In a server language, getting the URL parameters is really easy. But JavaScript doesn&#039;t offer a way to do it natively. I propose to you a little function to do so, but perhaps\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Geoffrey Crofte\"\/>\n\t<meta name=\"keywords\" content=\"tips,javascript \/ jquery\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#article\",\"name\":\"Read URL GET parameters with JavaScript\",\"headline\":\"Read URL GET parameters with JavaScript\",\"author\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/auteur\\\/geoffrey#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/get-url-javascript.png\",\"width\":200,\"height\":200},\"datePublished\":\"2015-08-15T17:33:48+02:00\",\"dateModified\":\"2022-10-25T21:19:55+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#webpage\"},\"articleSection\":\"JavaScript \\\/ jQuery, tips, CreativeJuiz\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en#listItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/theme\\\/javascript-en#listItem\",\"name\":\"JavaScript \\\/ jQuery\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/theme\\\/javascript-en#listItem\",\"position\":2,\"name\":\"JavaScript \\\/ jQuery\",\"item\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/theme\\\/javascript-en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#listItem\",\"name\":\"Read URL GET parameters with JavaScript\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en#listItem\",\"name\":\"Accueil\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#listItem\",\"position\":3,\"name\":\"Read URL GET parameters with JavaScript\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/theme\\\/javascript-en#listItem\",\"name\":\"JavaScript \\\/ jQuery\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/#person\",\"name\":\"Geoffrey Crofte\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c9e2509009badcdf656faf5019ef0f567c4dd4e6e49beca151c21d23995db473?s=96&d=monsterid&r=g\",\"width\":96,\"height\":96,\"caption\":\"Geoffrey Crofte\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/auteur\\\/geoffrey#author\",\"url\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/auteur\\\/geoffrey\",\"name\":\"Geoffrey Crofte\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c9e2509009badcdf656faf5019ef0f567c4dd4e6e49beca151c21d23995db473?s=96&d=monsterid&r=g\",\"width\":96,\"height\":96,\"caption\":\"Geoffrey Crofte\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#webpage\",\"url\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript\",\"name\":\"Read URL GET parameters with JavaScript\",\"description\":\"Seems to be really easy when you think about it. Though, during the same week, we questioned me two times about that. In a server language, getting the URL parameters is really easy. But JavaScript doesn't offer a way to do it natively. I propose to you a little function to do so, but perhaps\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/auteur\\\/geoffrey#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/auteur\\\/geoffrey#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/get-url-javascript.png\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript\\\/#mainImage\",\"width\":200,\"height\":200},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/javascript-en\\\/read-url-get-parameters-with-javascript#mainImage\"},\"datePublished\":\"2015-08-15T17:33:48+02:00\",\"dateModified\":\"2022-10-25T21:19:55+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/\",\"name\":\"Creative Juiz\",\"description\":\"HTML5, CSS3, JavaScript, WordPress Tutorials\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.creativejuiz.fr\\\/blog\\\/en\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Read URL GET parameters with JavaScript","description":"Seems to be really easy when you think about it. Though, during the same week, we questioned me two times about that. In a server language, getting the URL parameters is really easy. But JavaScript doesn't offer a way to do it natively. I propose to you a little function to do so, but perhaps","canonical_url":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript","robots":"max-image-preview:large","keywords":"tips,javascript \/ jquery","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#article","name":"Read URL GET parameters with JavaScript","headline":"Read URL GET parameters with JavaScript","author":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/auteur\/geoffrey#author"},"publisher":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2015\/08\/get-url-javascript.png","width":200,"height":200},"datePublished":"2015-08-15T17:33:48+02:00","dateModified":"2022-10-25T21:19:55+02:00","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#webpage"},"isPartOf":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#webpage"},"articleSection":"JavaScript \/ jQuery, tips, CreativeJuiz"},{"@type":"BreadcrumbList","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.creativejuiz.fr\/blog\/en#listItem","position":1,"name":"Accueil","item":"https:\/\/www.creativejuiz.fr\/blog\/en","nextItem":{"@type":"ListItem","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/theme\/javascript-en#listItem","name":"JavaScript \/ jQuery"}},{"@type":"ListItem","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/theme\/javascript-en#listItem","position":2,"name":"JavaScript \/ jQuery","item":"https:\/\/www.creativejuiz.fr\/blog\/en\/theme\/javascript-en","nextItem":{"@type":"ListItem","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#listItem","name":"Read URL GET parameters with JavaScript"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.creativejuiz.fr\/blog\/en#listItem","name":"Accueil"}},{"@type":"ListItem","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#listItem","position":3,"name":"Read URL GET parameters with JavaScript","previousItem":{"@type":"ListItem","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/theme\/javascript-en#listItem","name":"JavaScript \/ jQuery"}}]},{"@type":"Person","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/#person","name":"Geoffrey Crofte","image":{"@type":"ImageObject","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/c9e2509009badcdf656faf5019ef0f567c4dd4e6e49beca151c21d23995db473?s=96&d=monsterid&r=g","width":96,"height":96,"caption":"Geoffrey Crofte"}},{"@type":"Person","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/auteur\/geoffrey#author","url":"https:\/\/www.creativejuiz.fr\/blog\/en\/auteur\/geoffrey","name":"Geoffrey Crofte","image":{"@type":"ImageObject","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c9e2509009badcdf656faf5019ef0f567c4dd4e6e49beca151c21d23995db473?s=96&d=monsterid&r=g","width":96,"height":96,"caption":"Geoffrey Crofte"}},{"@type":"WebPage","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#webpage","url":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript","name":"Read URL GET parameters with JavaScript","description":"Seems to be really easy when you think about it. Though, during the same week, we questioned me two times about that. In a server language, getting the URL parameters is really easy. But JavaScript doesn't offer a way to do it natively. I propose to you a little function to do so, but perhaps","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/#website"},"breadcrumb":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#breadcrumblist"},"author":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/auteur\/geoffrey#author"},"creator":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/auteur\/geoffrey#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2015\/08\/get-url-javascript.png","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript\/#mainImage","width":200,"height":200},"primaryImageOfPage":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/javascript-en\/read-url-get-parameters-with-javascript#mainImage"},"datePublished":"2015-08-15T17:33:48+02:00","dateModified":"2022-10-25T21:19:55+02:00"},{"@type":"WebSite","@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/#website","url":"https:\/\/www.creativejuiz.fr\/blog\/en\/","name":"Creative Juiz","description":"HTML5, CSS3, JavaScript, WordPress Tutorials","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.creativejuiz.fr\/blog\/en\/#person"}}]}},"aioseo_meta_data":{"post_id":"5356","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 17:17:52","updated":"2025-07-09 23:45:12","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/5356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/comments?post=5356"}],"version-history":[{"count":2,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/5356\/revisions"}],"predecessor-version":[{"id":8264,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/5356\/revisions\/8264"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/media\/5353"}],"wp:attachment":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/media?parent=5356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/categories?post=5356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/tags?post=5356"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/coauthors?post=5356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}