{"id":461,"date":"2025-08-20T13:02:00","date_gmt":"2025-08-20T10:02:00","guid":{"rendered":"https:\/\/html-online.com\/articles\/?p=461"},"modified":"2025-08-27T09:56:45","modified_gmt":"2025-08-27T06:56:45","slug":"get-url-parameters-javascript","status":"publish","type":"post","link":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/","title":{"rendered":"Get URL Parameters With JavaScript"},"content":{"rendered":"<p>Using URL parameters is probably the easiest way of passing variables from one webpage to the other. In this article I&#8217;m going to present how to get a URL parameter with JavaScript.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"234\" class=\"aligncenter size-full wp-image-462\" src=\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg\" alt=\"get url parameter javascript\" srcset=\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg 441w, https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript-300x159.jpg 300w\" sizes=\"auto, (max-width: 441px) 85vw, 441px\" \/><\/p>\n<p><!--more--><\/p>\n<p>The image above presents how will the variables passed in the link. There&#8217;s a question mark at the start, then the variable name &#8211; value pairs follow, separated by ampersands (&amp;).<\/p>\n<p>The downside of using the GET method is that it&#8217;s visible to the visitor and it affects the link of the page. If you don&#8217;t prefer this method, you can use&nbsp;the POST method, session Cookies or database to store the variables.<\/p>\n<p>The <a href=\"\/articles\/category\/javascript\/\">JavaScript<\/a> function below parses and returns the parameters.<\/p>\n<pre>function <span style=\"color: #0000a2; font-weight: bold;\">getUrlVars<\/span>() {\n    var vars <span style=\"color: #687687;\">=<\/span> {};\n    var parts <span style=\"color: #687687;\">=<\/span> <span style=\"color: #6d79de; font-weight: bold;\">window<\/span>.<span style=\"color: #06960e; font-weight: bold;\">location<\/span>.<span style=\"color: #06960e; font-weight: bold;\">href<\/span>.<span style=\"color: #3c4c72; font-weight: bold;\">replace<\/span>(<span style=\"color: #d80800;\">\/[?&amp;]+([^=&amp;]+)=([^&amp;]*)\/gi<\/span>, function(m,key,value) {\n        vars[key] <span style=\"color: #687687;\">=<\/span> value;\n    });\n    <span style=\"color: #0100b6; font-weight: bold;\">return<\/span> vars;\n}\n<\/pre>\n<p>This is how you can pick a value from the variable array.<\/p>\n<pre>var number <span style=\"color: #687687;\">=<\/span> getUrlVars()[<span style=\"color: #d80800;\">\"x\"<\/span>];\nvar mytext <span style=\"color: #687687;\">=<\/span> getUrlVars()[<span style=\"color: #d80800;\">\"text\"<\/span>];\n<\/pre>\n<p>Okay but when the parameter is missing from the URL the value will be undefined. Here&#8217;s how to set a default value to the variable:<\/p>\n<pre style=\"color:#000000;background:#ffffff;\"><span style=\"color:#7f0055; font-weight:bold; \">function<\/span> getUrlParam(parameter, defaultvalue){\n    <span style=\"color:#7f0055; font-weight:bold; \">var<\/span> urlparameter = defaultvalue;\n    <span style=\"color:#7f0055; font-weight:bold; \">if<\/span>(window.location.href.<span style=\"color:#7f0055; font-weight:bold; \">indexOf<\/span>(parameter) &gt; -1){\n        urlparameter = getUrlVars()[parameter];\n        }\n\t<span style=\"color:#7f0055; font-weight:bold; \">if<\/span> (urlparameter !== <span style=\"color:#7f0055; font-weight:bold; \">undefined<\/span>) {\n\t\t<span style=\"color:#7f0055; font-weight:bold; \">return<\/span> urlparameter;\n\t} <span style=\"color:#7f0055; font-weight:bold; \">else<\/span> {\n\t\t<span style=\"color:#7f0055; font-weight:bold; \">return<\/span> defaultvalue;\n\t}\n}\n<\/pre>\n<p>Use it like this:<\/p>\n<pre>var mytext <span style=\"color: #687687;\">=<\/span> getUrlParam(<span style=\"color: #d80800;\">'text'<\/span>,<span style=\"color: #d80800;\">'Empty'<\/span>);\n<\/pre>\n<h2>Encoding and decoding URLs<\/h2>\n<p>There are some characters that you can&#8217;t pass through the URL. For example try to write a space in a link and press enter. The spaces will be replaced with the <strong>%20<\/strong> code. This is why you have to make sure that you encode and decode the URL parameters every time you use them.<\/p>\n<p>To encode: <strong><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/encodeURI\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\">encodeURI(str)<\/a><\/strong><\/p>\n<p>To decode:&nbsp;<strong><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/decodeURI\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\">decodeURI(str)<\/a><\/strong><\/p>\n<p>The functions take a string as an input.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using URL parameters is probably the easiest way of passing variables from one webpage to the other. In this article I&#8217;m going to present how to get a URL parameter with JavaScript.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,5],"tags":[],"class_list":["post-461","post","type-post","status-publish","format-standard","hentry","category-articles","category-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Get URL Parameters With JavaScript - The easiest way<\/title>\n<meta name=\"description\" content=\"Using URL parameters passing variables from one webpage to the other. In this article I&#039;m going to present how to get a URL parameter with JavaScript.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Get URL Parameters With JavaScript - The easiest way\" \/>\n<meta property=\"og:description\" content=\"Using URL parameters passing variables from one webpage to the other. In this article I&#039;m going to present how to get a URL parameter with JavaScript.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"HTML Online\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/htmlcoding\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-20T10:02:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-27T06:56:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"441\" \/>\n\t<meta property=\"og:image:height\" content=\"234\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"HTML Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"HTML Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/\"},\"author\":{\"name\":\"HTML Editor\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\"},\"headline\":\"Get URL Parameters With JavaScript\",\"datePublished\":\"2025-08-20T10:02:00+00:00\",\"dateModified\":\"2025-08-27T06:56:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/\"},\"wordCount\":241,\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg\",\"articleSection\":[\"Articles\",\"JavaScript\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/\",\"url\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/\",\"name\":\"How To Get URL Parameters With JavaScript - The easiest way\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg\",\"datePublished\":\"2025-08-20T10:02:00+00:00\",\"dateModified\":\"2025-08-27T06:56:45+00:00\",\"description\":\"Using URL parameters passing variables from one webpage to the other. In this article I'm going to present how to get a URL parameter with JavaScript.\",\"breadcrumb\":{\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage\",\"url\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg\",\"contentUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg\",\"width\":441,\"height\":234,\"caption\":\"get url parameter javascript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/html-online.com\/articles\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get URL Parameters With JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/html-online.com\/articles\/#website\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"name\":\"HTML Online Articles\",\"description\":\"Tips, tricks, tutorials\u2026\",\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/html-online.com\/articles\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/html-online.com\/articles\/#organization\",\"name\":\"HTML Online\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"contentUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"width\":350,\"height\":350,\"caption\":\"HTML Online\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/htmlcoding\/\",\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\",\"name\":\"HTML Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"caption\":\"HTML Editor\"},\"description\":\"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/@htmlg\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Get URL Parameters With JavaScript - The easiest way","description":"Using URL parameters passing variables from one webpage to the other. In this article I'm going to present how to get a URL parameter with JavaScript.","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:\/\/html-online.com\/articles\/get-url-parameters-javascript\/","og_locale":"en_GB","og_type":"article","og_title":"How To Get URL Parameters With JavaScript - The easiest way","og_description":"Using URL parameters passing variables from one webpage to the other. In this article I'm going to present how to get a URL parameter with JavaScript.","og_url":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/","og_site_name":"HTML Online","article_publisher":"https:\/\/www.facebook.com\/htmlcoding\/","article_published_time":"2025-08-20T10:02:00+00:00","article_modified_time":"2025-08-27T06:56:45+00:00","og_image":[{"width":441,"height":234,"url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg","type":"image\/jpeg"}],"author":"HTML Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"HTML Editor","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#article","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/"},"author":{"name":"HTML Editor","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d"},"headline":"Get URL Parameters With JavaScript","datePublished":"2025-08-20T10:02:00+00:00","dateModified":"2025-08-27T06:56:45+00:00","mainEntityOfPage":{"@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/"},"wordCount":241,"publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"image":{"@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg","articleSection":["Articles","JavaScript"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/","url":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/","name":"How To Get URL Parameters With JavaScript - The easiest way","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage"},"image":{"@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg","datePublished":"2025-08-20T10:02:00+00:00","dateModified":"2025-08-27T06:56:45+00:00","description":"Using URL parameters passing variables from one webpage to the other. In this article I'm going to present how to get a URL parameter with JavaScript.","breadcrumb":{"@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#primaryimage","url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg","contentUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/11\/get-url-parameter-javascript.jpg","width":441,"height":234,"caption":"get url parameter javascript"},{"@type":"BreadcrumbList","@id":"https:\/\/html-online.com\/articles\/get-url-parameters-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/html-online.com\/articles\/"},{"@type":"ListItem","position":2,"name":"Get URL Parameters With JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/html-online.com\/articles\/#website","url":"https:\/\/html-online.com\/articles\/","name":"HTML Online Articles","description":"Tips, tricks, tutorials\u2026","publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/html-online.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/html-online.com\/articles\/#organization","name":"HTML Online","url":"https:\/\/html-online.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","contentUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","width":350,"height":350,"caption":"HTML Online"},"image":{"@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/htmlcoding\/","https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww"]},{"@type":"Person","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d","name":"HTML Editor","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","caption":"HTML Editor"},"description":"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.","sameAs":["https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/@htmlg"]}]}},"_links":{"self":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/comments?post=461"}],"version-history":[{"count":6,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/461\/revisions"}],"predecessor-version":[{"id":1787,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/461\/revisions\/1787"}],"wp:attachment":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/categories?post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/tags?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}