{"id":25056,"date":"2021-01-18T17:50:33","date_gmt":"2021-01-19T01:50:33","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=25056"},"modified":"2021-01-18T23:54:45","modified_gmt":"2021-01-19T07:54:45","slug":"javascript-go-to-url","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/","title":{"rendered":"JavaScript: Go to URL: A Complete Guide"},"content":{"rendered":"\n<p><em>The window.location value represents the current URL you are viewing in your browser. You can replace this value to go to another URL In JavaScript. This is useful if you want to redirect a user to another page. You can also use the assign() or replace() methods.<\/em><\/p>\n\n\n\n<p>There are a couple of reasons you may want to redirect a user to a different website or an updated path name. In most cases, you may want to redirect depending on a user\u2019s <em>authorization<\/em> \u2013 whether a client is logged in to a site. In this article, we take a look at how to do that in a web page using JavaScript.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScript Go to URL<\/h2>\n\n\n\n<p>The JavaScript browser history API lets you go to a new URL. You can use the following methods to navigate to a new URL:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Assigning a new value to window.location.<\/li><li>Using the window.assign() method.<\/li><li>Using the window.replace() method.<\/li><\/ul>\n\n\n\n<p>All of these three methods accomplish the goal of navigating to another URL equally. Let&#8217;s take a look at each of these methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScript window.location Value<\/h2>\n\n\n\n<p>To navigate to a new URL, use the location object from the Browser\u2019s History API. The session history lets you reassign the location object to a new URL or use the href property on that same object.<\/p>\n\n\n\n<p>The syntax for this approach is:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>window.location = &quot;url&quot;;<\/pre><\/div>\n\n\n\n<p>&#8220;url&#8221; represents the URL you want the user to visit. When this line of code runs, a JavaScript redirect starts. This changes the page which the user views in their web browser.<\/p>\n\n\n\n<p>Let&#8217;s take a look at this method in the form of an example:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>const handleClick = (e) =&gt; {\n      console.log(&quot;click&quot;)\n      window.location = ('https:\/\/careerkarma.com') \n      \/\/ window.location.href = ('https:\/\/careerkarma.com')\n      console.log(window.location)\n    }<\/pre><\/div>\n\n\n\n<p>When the handleClick() function runs, our code will log a statement to the <a href=\"https:\/\/careerkarma.com\/blog\/javascript-console\/\">JavaScript console<\/a>. Then, our code will redirect us to a new URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScript window.location.assign()<\/h2>\n\n\n\n<p>The location object has a redirect method called <em>assign().<\/em> This method assigns the current URL with the assigned URL and add it to the history stack.<\/p>\n\n\n\n<p>The history stack represents the pages you have viewed (think about the &#8220;back arrow&#8221; that lets you go back a page).<\/p>\n\n\n\n<p>Consider the following syntax:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>window.location.assign(&quot;url&quot;);<\/pre><\/div>\n\n\n\n<p>Unlike the last example, we do not need to assign any value to a <a href=\"https:\/\/careerkarma.com\/blog\/javascript-variables\/\">JavaScript variable<\/a> (window.location). Instead, we use a method to change the web page the user views.<\/p>\n\n\n\n<p>The history stack is how the browser remembers where a back button or a forward button should go to.<\/p>\n\n\n\n<p>Let&#8217;s take a look at a full example of this method:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>const handleClick = (e) =&gt; {\n      console.log(&quot;click&quot;)\n      window.location.assign('https:\/\/careerkarma.com');      \n}<\/pre><\/div>\n\n\n\n<p>If you want to redirect to a different page on the same site, use the path name property on the location object:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>const handleClick = (e) =&gt; {\n      console.log(&quot;click&quot;)\n      window.location.pathname = ('\/newpage.html')\n      console.log(window.location)\n}<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScript window.location.replace()<\/h2>\n\n\n\n<p>You have the ability to control whether the user can use the back button to go back to the previous site.<\/p>\n\n\n\n<p>Using the replace() method, you can navigate a user to a site and stop them from going back to the previous page. The assign() method, on the other hand, saves the page you were previously viewing in your browser history. So, with assign() you can view the last page you were on.<\/p>\n\n\n\n<p>Let&#8217;s take a look at the replace() method:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>window.location.replace(&quot;url&quot;);<\/pre><\/div>\n\n\n\n<p>Like assign(), replace() is a method. This method accepts one argument:A the URL to which you want to point the user.<\/p>\n\n\n\n<p>We can use the replace() method with a custom function to change the URL the user views when the method is run:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>const handleClick = (e) =&gt; {\n      console.log(&quot;click&quot;)\n      window.location.replace('https:\/\/careerkarma.com'); \n}<\/pre><\/div>\n\n\n\n<iframe loading=\"lazy\" src=\"https:\/\/repl.it\/@ChristinaKopeck\/JavaScript-redirect?lite=true\" scrolling=\"no\" allowtransparency=\"true\" allowfullscreen=\"true\" sandbox=\"allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals\" width=\"100%\" height=\"400px\" frameborder=\"no\"><\/iframe>\n\n\n\n<p>Use this Repl.it to play with the different methods to redirect to a URL of your choice. You can use the Run button to reset the code to the default.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>There are three ways to go to a URL in JavaScript: using window.location, the window.location.assign() method, or the window.location.replace() method.<\/p>\n\n\n\n<p>Do you want to learn more about JavaScript? Check out our <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-javascript\/\">How to Learn JavaScript guide<\/a>. This guide contains top tips on how to learn JavaScript and a list of comprehensive learning resources for beginners and intermediate developers.<\/p>\n","protected":false},"excerpt":{"rendered":"The window.location value represents the current URL you are viewing in your browser. You can replace this value to go to another URL In JavaScript. This is useful if you want to redirect a user to another page. You can also use the assign() or replace() methods. There are a couple of reasons you may&hellip;","protected":false},"author":77,"featured_media":25057,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11933],"tags":[],"class_list":{"0":"post-25056","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-javascript"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"JavaScript","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JavaScript: Go to URL: A Complete Guide: A Complete Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"Learn how to use the location object in JavaScript to go to another URL in this article by Career Karma!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript: Go to URL: A Complete Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the location object in JavaScript to go to another URL in this article by Career Karma!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-19T01:50:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-19T07:54:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Christina Kopecky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christina Kopecky\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/\"},\"author\":{\"name\":\"Christina Kopecky\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e\"},\"headline\":\"JavaScript: Go to URL: A Complete Guide\",\"datePublished\":\"2021-01-19T01:50:33+00:00\",\"dateModified\":\"2021-01-19T07:54:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/\"},\"wordCount\":670,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg\",\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/\",\"name\":\"JavaScript: Go to URL: A Complete Guide: A Complete Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg\",\"datePublished\":\"2021-01-19T01:50:33+00:00\",\"dateModified\":\"2021-01-19T07:54:45+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e\"},\"description\":\"Learn how to use the location object in JavaScript to go to another URL in this article by Career Karma!\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg\",\"width\":960,\"height\":768,\"caption\":\"Detour Sign with Graffiti\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\",\"item\":\"https:\/\/careerkarma.com\/blog\/javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript: Go to URL: A Complete Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e\",\"name\":\"Christina Kopecky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg\",\"caption\":\"Christina Kopecky\"},\"description\":\"Christina is an experienced technical writer, covering topics as diverse as Java, SQL, Python, and web development. She earned her Master of Music in flute performance from the University of Kansas and a bachelor's degree in music with minors in French and mass communication from Southeast Missouri State. Prior to joining the Career Karma team in June 2020, Christina was a teaching assistant, team lead, and section lead at Lambda School, where she led student groups, performed code and project reviews, and debugged problems for students. Christina's technical content is featured frequently in publications like Codecademy, Repl.it, and Educative.\",\"sameAs\":[\"http:\/\/www.linkedin.com\/in\/cmvnk\"],\"url\":\"https:\/\/careerkarma.com\/blog\/author\/christina-kopecky\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JavaScript: Go to URL: A Complete Guide: A Complete Guide | Career Karma","description":"Learn how to use the location object in JavaScript to go to another URL in this article by Career Karma!","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:\/\/careerkarma.com\/blog\/javascript-go-to-url\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript: Go to URL: A Complete Guide","og_description":"Learn how to use the location object in JavaScript to go to another URL in this article by Career Karma!","og_url":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2021-01-19T01:50:33+00:00","article_modified_time":"2021-01-19T07:54:45+00:00","og_image":[{"width":960,"height":768,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg","type":"image\/jpeg"}],"author":"Christina Kopecky","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"Christina Kopecky","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/"},"author":{"name":"Christina Kopecky","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e"},"headline":"JavaScript: Go to URL: A Complete Guide","datePublished":"2021-01-19T01:50:33+00:00","dateModified":"2021-01-19T07:54:45+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/"},"wordCount":670,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg","articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/","url":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/","name":"JavaScript: Go to URL: A Complete Guide: A Complete Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg","datePublished":"2021-01-19T01:50:33+00:00","dateModified":"2021-01-19T07:54:45+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e"},"description":"Learn how to use the location object in JavaScript to go to another URL in this article by Career Karma!","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/photo-1561597161-cb35270f85e1.jpg","width":960,"height":768,"caption":"Detour Sign with Graffiti"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/javascript-go-to-url\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript","item":"https:\/\/careerkarma.com\/blog\/javascript\/"},{"@type":"ListItem","position":3,"name":"JavaScript: Go to URL: A Complete Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e","name":"Christina Kopecky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg","caption":"Christina Kopecky"},"description":"Christina is an experienced technical writer, covering topics as diverse as Java, SQL, Python, and web development. She earned her Master of Music in flute performance from the University of Kansas and a bachelor's degree in music with minors in French and mass communication from Southeast Missouri State. Prior to joining the Career Karma team in June 2020, Christina was a teaching assistant, team lead, and section lead at Lambda School, where she led student groups, performed code and project reviews, and debugged problems for students. Christina's technical content is featured frequently in publications like Codecademy, Repl.it, and Educative.","sameAs":["http:\/\/www.linkedin.com\/in\/cmvnk"],"url":"https:\/\/careerkarma.com\/blog\/author\/christina-kopecky\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/25056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=25056"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/25056\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/25057"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=25056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=25056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=25056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}