{"id":23174,"date":"2020-09-25T12:14:15","date_gmt":"2020-09-25T19:14:15","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=23174"},"modified":"2023-12-01T04:00:26","modified_gmt":"2023-12-01T12:00:26","slug":"python-syntaxerror-return-outside-function","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/","title":{"rendered":"Python SyntaxError: \u2018return\u2019 outside function Solution"},"content":{"rendered":"\n<p>A <a href=\"https:\/\/careerkarma.com\/blog\/python-return\/\">return statement<\/a> sends a value from a function to a main program. If you specify a return statement outside of a function, you\u2019ll encounter the \u201cSyntaxError: \u2018return\u2019 outside function\u201d error.<br><\/p>\n\n\n\n<p>In this guide, we explore what the \u201c\u2018return\u2019 outside function\u201d error means and why it is raised. We\u2019ll walk through an example of this error so you can figure out how to solve it in your program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SyntaxError: \u2018return\u2019 outside function<\/h2>\n\n\n\n<p>Return statements can only be included in a function. This is because return statements send values from a function to a main program. Without a function from which to send values, a return statement would have no clear purpose.<br><\/p>\n\n\n\n<p>Return statements come at the end of a block of code in a function. Consider the following example:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>def add_two_numbers(x, y):\n\tanswer = x + y\n\treturn answer<\/pre><\/div>\n\n\n\n<p>Our return statement is the final line of code in our function. A return statement may be used in an <code>if<\/code> statement to specify multiple potential values that a function could return.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We\u2019re going to write a program that calculates whether a student has passed or failed a computing test. To start, let\u2019s <a href=\"https:\/\/careerkarma.com\/blog\/python-functions\/\">define a function<\/a> that checks whether a student has passed or failed. The pass-fail boundary for the test is 50 marks.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>def check_if_passed(grade):\n\tif grade &gt; 50:\n\t\tprint(&quot;Checked&quot;)\n\t\treturn True\n\telse: \n\t\tprint(&quot;Checked&quot;)\nreturn False<\/pre><\/div>\n\n\n\n<p>Our function can return two values: True or False. If a student\u2019s grade is over 50 (above the pass-fail boundary), the value True is returned to our program. Otherwise, the value False is returned. Our program prints the value \u201cChecked\u201d no matter what the outcome of our if statement is so that we can be sure a grade has been checked.<br><\/p>\n\n\n\n<p>Now that we have written this function, we can call it in our main program. First, we need to ask the user for the name of the student whose grade the program should check, and for the grade that student earned. We can do this using an <a href=\"https:\/\/careerkarma.com\/blog\/python-input\/\">input() statement<\/a>:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>name = input(&quot;Enter the student's name: &quot;)\ngrade = int(input(&quot;Enter the student's grade: &quot;))<\/pre><\/div>\n\n\n\n<p>The value of \u201cgrade\u201d is <a href=\"https:\/\/careerkarma.com\/blog\/python-string-to-int\/\">converted to an integer<\/a> so we can compare it with the value 50 in our function. Let\u2019s call our function to check if a student has passed their computing test:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>has_passed = check_if_passed(grade)\nif has_passed == True:\n\tprint(&quot;{} passed their test with a grade of {}.&quot;.format(name, grade))\nelse:\n\tprint(&quot;{} failed their test with a grade of {}.&quot;.format(name, grade))<\/pre><\/div>\n\n\n\n<p>We call the <code>check_if_passed()<\/code> function to determine whether a student has passed their test. If the student passed their test, a message is printed to the console telling us they passed; otherwise, we are informed the student failed their test.<br><\/p>\n\n\n\n<p>Let\u2019s run our code to see if it works:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>  File &quot;test.py&quot;, line 6\n\treturn False\n\t^\nSyntaxError: 'return' outside function<\/pre><\/div>\n\n\n\n<p>An error is returned.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>We have specified a return statement outside of a function. Let&#8217;s go back to our <code>check_if_passed()<\/code> function. If we look at the last line of code, we can see that our last return statement is <a href=\"https:\/\/careerkarma.com\/blog\/python-indentationerror-unexpected-indent\/\">not properly indented<\/a>.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>\u2026\n\telse: \n\t\tprint(&quot;Checked&quot;)\nreturn False<\/pre><\/div>\n\n\n\n<p>The statement that returns False appears after our function, rather than at the end of our function. We can fix this error by intending our return statement to the correct level:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>\telse: \n\t\tprint(&quot;Checked&quot;)\nreturn False<\/pre><\/div>\n\n\n\n<p>The return statement is now part of our function. It will return the value False if a student\u2019s grade is not over 50. Let\u2019s run our program again:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter the student's name: Lisa\nEnter the student's grade: 84\nChecked\nLisa passed their test with a grade of 84.<\/pre><\/div>\n\n\n\n<p>Our program successfully calculates that a student passed their test.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201cSyntaxError: \u2018return\u2019 outside function\u201d error is raised when you specify a return statement outside of a function. To solve this error, make sure all of your return statements are properly indented and appear inside a function instead of after a function.<br><\/p>\n\n\n\n<p>Now you have the knowledge you need to fix this error like an expert Python programmer!<\/p>\n","protected":false},"excerpt":{"rendered":"A return statement sends a value from a function to a main program. If you specify a return statement outside of a function, you\u2019ll encounter the \u201cSyntaxError: \u2018return\u2019 outside function\u201d error. In this guide, we explore what the \u201c\u2018return\u2019 outside function\u201d error means and why it is raised. We\u2019ll walk through an example of this&hellip;","protected":false},"author":240,"featured_media":21618,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-23174","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python SyntaxError: \u2018return\u2019 outside function Solution | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn the cause of and the solution to the Python SyntaxError: \u2018return\u2019 outside function error.\" \/>\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\/python-syntaxerror-return-outside-function\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python SyntaxError: \u2018return\u2019 outside function Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn the cause of and the solution to the Python SyntaxError: \u2018return\u2019 outside function error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/\" \/>\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=\"2020-09-25T19:14:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:00:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/emile-perron-xrVDYZRGdw4-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"574\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\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=\"James Gallagher\" \/>\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\\\/python-syntaxerror-return-outside-function\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python SyntaxError: \u2018return\u2019 outside function Solution\",\"datePublished\":\"2020-09-25T19:14:15+00:00\",\"dateModified\":\"2023-12-01T12:00:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/\"},\"wordCount\":581,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/emile-perron-xrVDYZRGdw4-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/\",\"name\":\"Python SyntaxError: \u2018return\u2019 outside function Solution | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/emile-perron-xrVDYZRGdw4-unsplash.jpg\",\"datePublished\":\"2020-09-25T19:14:15+00:00\",\"dateModified\":\"2023-12-01T12:00:26+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn the cause of and the solution to the Python SyntaxError: \u2018return\u2019 outside function error.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/emile-perron-xrVDYZRGdw4-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/emile-perron-xrVDYZRGdw4-unsplash.jpg\",\"width\":1020,\"height\":574},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-syntaxerror-return-outside-function\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python SyntaxError: \u2018return\u2019 outside function Solution\"}]},{\"@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\\\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/jamesgallagher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python SyntaxError: \u2018return\u2019 outside function Solution | Career Karma","description":"On Career Karma, learn the cause of and the solution to the Python SyntaxError: \u2018return\u2019 outside function error.","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\/python-syntaxerror-return-outside-function\/","og_locale":"en_US","og_type":"article","og_title":"Python SyntaxError: \u2018return\u2019 outside function Solution","og_description":"On Career Karma, learn the cause of and the solution to the Python SyntaxError: \u2018return\u2019 outside function error.","og_url":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-25T19:14:15+00:00","article_modified_time":"2023-12-01T12:00:26+00:00","og_image":[{"width":1020,"height":574,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/emile-perron-xrVDYZRGdw4-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python SyntaxError: \u2018return\u2019 outside function Solution","datePublished":"2020-09-25T19:14:15+00:00","dateModified":"2023-12-01T12:00:26+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/"},"wordCount":581,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/emile-perron-xrVDYZRGdw4-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/","url":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/","name":"Python SyntaxError: \u2018return\u2019 outside function Solution | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/emile-perron-xrVDYZRGdw4-unsplash.jpg","datePublished":"2020-09-25T19:14:15+00:00","dateModified":"2023-12-01T12:00:26+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn the cause of and the solution to the Python SyntaxError: \u2018return\u2019 outside function error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/emile-perron-xrVDYZRGdw4-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/emile-perron-xrVDYZRGdw4-unsplash.jpg","width":1020,"height":574},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-syntaxerror-return-outside-function\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python SyntaxError: \u2018return\u2019 outside function Solution"}]},{"@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\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/23174","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\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=23174"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/23174\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21618"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=23174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=23174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=23174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}