{"id":8170,"date":"2020-04-23T18:51:03","date_gmt":"2020-04-23T13:21:03","guid":{"rendered":"https:\/\/tutorials.eyehunts.com\/?p=8170"},"modified":"2021-07-19T19:02:51","modified_gmt":"2021-07-19T13:32:51","slug":"python-check-if-string-is-empty-or-whitespace","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/","title":{"rendered":"Python check if string is empty or whitespace | Example code"},"content":{"rendered":"\n<p>You can check if the string is empty or whitespace using an isspace() function and strip() function in python.<\/p>\n\n\n\n<p>You can also just use not string with if-else condition statement.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Check if the string is &#8220;whitespace&#8221; in Python<\/strong><\/h3>\n\n\n\n<p>First, check if the string\u00a0<strong>contains<\/strong>\u00a0whitespace only or not by using a &#8220;<a rel=\"noreferrer noopener\" href=\"https:\/\/tutorial.eyehunts.com\/\/java\/isspace-python-function-check-if-a-string-has-space\/\" target=\"_blank\">isspace() function<\/a>&#8221; in python.<\/p>\n\n\n\n<p>A function returns true if any space and no charter in the string text else it will return false.<\/p>\n\n\n\n<pre>\n# string only space\nstr1 = \" \"\nprint(str1.isspace())\n\n# string without space\nstr2 = \"\"\nprint(str2.isspace())\n<\/pre>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<p>True<br>False<\/p>\n\n\n\n<p><strong>Read more: <\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/tutorial.eyehunts.com\/\/java\/isspace-python-function-check-if-a-string-has-space\/\" target=\"_blank\">isspace Python function example<\/a><\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Check if the string is &#8220;Empty&#8221;<\/strong> in Python <\/h3>\n\n\n\n<p>Empty strings are &#8220;falsy&#8221; which means they are considered false in a Boolean context, so you can just use not string. &nbsp;<\/p>\n\n\n\n<p><strong>Here\u2019s a function to check if a string is empty:<\/strong><\/p>\n\n\n\n<pre>\ndef is_empty(string):\n\treturn not string.strip()\n<\/pre>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<pre>\nstr1 = \"\"\nif not str1:\n    print(\"Empty String!\")\n\n<\/pre>\n\n\n\n<p><strong>Output: <\/strong>Empty String!<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>If you consider whitespace also not in an empty string then use the strip() method, where the strip() method will remove all white space. So if there is only white space then the string becomes empty.<\/p>\n\n\n\n<pre>\nstr1 = \"  \"\nif not str1.strip():\n    print(\"Empty String!\")\n\n<\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Q: How to get&nbsp;a number of spaces in a&nbsp;string in Python?<\/strong><\/h3>\n\n\n\n<p><strong>Answer: <\/strong>Use the count() function to get the <a href=\"https:\/\/tutorial.eyehunts.com\/\/python\/python-numbers-types-tutorial-example\/\" target=\"_blank\" rel=\"noreferrer noopener\">number<\/a> of spaces in the given string.<\/p>\n\n\n\n<pre>str1 = \"Hello World \"\nprint(str1.count(' '))\n<\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Do comment if you have any questions and suggestions on this tutorial.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note<\/strong>: This example (Project) is developed in&nbsp;PyCharm 2018.2 (Community Edition)<br>JRE: 1.8.0<br>JVM:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/openjdk.java.net\/\" target=\"_blank\">OpenJDK<\/a>&nbsp;64-Bit Server VM by JetBrains s.r.o<br>macOS 10.13.6<br><strong>Python 3.7<\/strong><br>All<strong>&nbsp;Python Examples&nbsp;<\/strong>are in Python 3, so it may change its different from python 2 or upgraded versions.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>You can check if the string is empty or whitespace using an isspace() function and strip() function in python. You can also just use not string with if-else condition statement. Check if the string is &#8220;whitespace&#8221; in Python First, check if the string\u00a0contains\u00a0whitespace only or not by using a &#8220;isspace() function&#8221; in python. A function&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python check if string is empty or whitespace | Example code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30],"tags":[38,98],"post_series":[],"class_list":["post-8170","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-function","tag-python-string"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python check if a string is empty or whitespace | Example code - EyeHunts<\/title>\n<meta name=\"description\" content=\"You can check if the string is empty or whitespace using an isspace() function and strip() function in python. Use not string with if-else condition\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python check if a string is empty or whitespace | Example code - EyeHunts\" \/>\n<meta property=\"og:description\" content=\"You can check if the string is empty or whitespace using an isspace() function and strip() function in python. Use not string with if-else condition\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-23T13:21:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-19T13:32:51+00:00\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/\",\"name\":\"Python check if a string is empty or whitespace | Example code - EyeHunts\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"datePublished\":\"2020-04-23T13:21:03+00:00\",\"dateModified\":\"2021-07-19T13:32:51+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"You can check if the string is empty or whitespace using an isspace() function and strip() function in python. Use not string with if-else condition\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python check if string is empty or whitespace | Example code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python check if a string is empty or whitespace | Example code - EyeHunts","description":"You can check if the string is empty or whitespace using an isspace() function and strip() function in python. Use not string with if-else condition","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:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/","og_locale":"en_US","og_type":"article","og_title":"Python check if a string is empty or whitespace | Example code - EyeHunts","og_description":"You can check if the string is empty or whitespace using an isspace() function and strip() function in python. Use not string with if-else condition","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/","og_site_name":"Tutorial","article_published_time":"2020-04-23T13:21:03+00:00","article_modified_time":"2021-07-19T13:32:51+00:00","author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/","name":"Python check if a string is empty or whitespace | Example code - EyeHunts","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"datePublished":"2020-04-23T13:21:03+00:00","dateModified":"2021-07-19T13:32:51+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"You can check if the string is empty or whitespace using an isspace() function and strip() function in python. Use not string with if-else condition","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-or-whitespace\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python check if string is empty or whitespace | Example code"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":8174,"url":"https:\/\/tutorial.eyehunts.com\/python\/isspace-python-function-check-if-a-string-has-space\/","url_meta":{"origin":8170,"position":0},"title":"isspace Python function | Check if a string has space","author":"Rohit","date":"April 22, 2020","format":false,"excerpt":"The \"isspace Python function\" is used to check if there are only whitespace characters in the string. Python String isspace() will return a boolean value, if there is space only then true else return False Syntax string.isspace() Return Value True\u00a0if all characters in the string are whitespace (space) characters else\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16537,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-string-empty-or-whitespace-example-code\/","url_meta":{"origin":8170,"position":1},"title":"Python string Empty or Whitespace | Example code","author":"Rohit","date":"July 14, 2021","format":false,"excerpt":"Using isspace() method you can get the knowledge about strings to have only space or not and for Empty strings, you can get them by using \"not\" in if-else. Example string empty or whitespace in python Return True if there are only whitespace characters in the string and there is\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-Empty-or-Whitespace.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-Empty-or-Whitespace.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-Empty-or-Whitespace.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":16504,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-check-if-string-is-empty-4-ways-example-code\/","url_meta":{"origin":8170,"position":2},"title":"Python check if string is empty | 4 ways Example code","author":"Rohit","date":"July 18, 2021","format":false,"excerpt":"There are several ways to checks if the string is empty or not in python but the most elegant way would probably be to simply check if it's true or falsy. if not my_string: How to Check If String is Empty or Not in Python example Check python examples in\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python check if string is empty","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-check-if-string-is-empty.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8192,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-check-if-text-is-empty-spaces-tabs-newlines-in-python\/","url_meta":{"origin":8170,"position":3},"title":"How to check if text is \u201cempty\u201d (spaces, tabs, newlines) in Python?","author":"Rohit","date":"July 21, 2023","format":false,"excerpt":"To check if a text string is \"empty\" (contains only spaces, tabs, or newlines) in Python, you can use the isspace() method available on string objects. Here's a simple function to check if the text is empty: string.isspace() string: This is the string on which you want to perform the\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/07\/How-to-check-if-text-is-empty-spaces-tabs-newlines-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8197,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-trim-string-python-string-strip-function\/","url_meta":{"origin":8170,"position":4},"title":"Python trim string | Python string strip() function","author":"Rohit","date":"April 24, 2020","format":false,"excerpt":"You can trim string in python using a strip() function. It removes the leading and trailing spaces of a given String. There are 2 more methods \"lstrip() and rstrip()\" that can use to remove leading or trailing whitespaces. Note: default whitespace characters will remove, you can remove other char also.\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-trim-string-string-strip-function-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":8211,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-rstrip-function-trim-string-from-right\/","url_meta":{"origin":8170,"position":5},"title":"Python rstrip Function | trim string from right","author":"Rohit","date":"April 26, 2020","format":false,"excerpt":"Python rstrip function is used to remove trailing characters (characters at the end of a string). Whitespace is the default trailing character to remove if no character is passed as a parameter. If you want to remove (trim string):- All leading White-space - use Python lstrip Function.Leading and trailing spaces-\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/04\/Python-rstrip-Function-trim-string-from-right.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/8170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=8170"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/8170\/revisions"}],"predecessor-version":[{"id":16777,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/8170\/revisions\/16777"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=8170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=8170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=8170"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=8170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}