{"id":69980,"date":"2024-03-13T16:36:28","date_gmt":"2024-03-13T15:36:28","guid":{"rendered":"https:\/\/zaven.co\/blog\/?p=69980"},"modified":"2025-04-08T22:27:28","modified_gmt":"2025-04-08T20:27:28","slug":"enhancing-api-testing-efficiency-with-javascript-in-postman","status":"publish","type":"post","link":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/","title":{"rendered":"Enhancing API Testing Efficiency with JavaScript in Postman"},"content":{"rendered":"\n<p class=\"lead\">API testing is essential for good software, and Postman has made it easier by letting us use JavaScript to check our work. In this article, we&#8217;ll see how using JavaScript in Postman helps us make sure our software is working right, saving us time and making our testing process smoother.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Goal<\/strong><\/h2>\n\n\n\n<p>Our goal is to enhance the effectiveness of API testing by leveraging Postman capabilities for writing JavaScript tests. Specifically, we aim to optimise the process of asserting results in response bodies, so we don\u2019t have to do it manually ever again. This not only contributes to faster testing cycles, but also ensures that the validation of critical data within API responses is robust and thorough, since we almost completely remove the human factor in the assertion process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Challenge<\/strong><\/h2>\n\n\n\n<p>Traditional API testing methodologies often fall short when it comes to handling complex responses. Manual inspection and validation of every data point within an API response can be time-consuming, error-prone, and hinder the scalability of our testing efforts. Additionally, as applications evolve, keeping up with changing response structures becomes a challenging task.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Solution<\/strong><\/h2>\n\n\n\n<p>To overcome these challenges, we turn to Postman, a tool that already has a strong position amongst QA Engineers.<\/p>\n\n\n\n<p>Let\u2019s try to come up with a strategic approach to implement JavaScript tests in Postman and optimise the assertions.&nbsp;<\/p>\n\n\n\n<p>First of all, for API tests we need\u2026 an actual API we can write our tests against!&nbsp;<\/p>\n\n\n\n<p>Let\u2019s take the <a href=\"https:\/\/github.com\/vdespa\/introduction-to-postman-course\/blob\/main\/simple-books-api.md\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Simple Books API<\/strong><\/a><strong> <\/strong>as our target for testing purposes. <strong>Simple Books API <\/strong>is an API that allows us to check which books are available and then check their detailed information and order them.<\/p>\n\n\n\n<p>The first request we should check is the \u201dGET \/status\u201d endpoint that enables us to check if the API is up and running, so we can proceed with the rest of our tests:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\"   src=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/status.png\" alt=\"\" class=\"wp-image-70005\"\/><\/figure><\/div>\n\n\n<p>When it comes to responses like the above-mentioned status check, we don\u2019t necessarily need to write tests for them as they are pretty simple and it might be redundant to do so, right? Well, yes and no! Let\u2019s assume there was a feature or a bugfix deployed by the developer that broke the response of the \u201dGET \/status\u201d call and we are now getting a <strong>HTTP 200 OK<\/strong> response code, but the body of the response says &nbsp;&#8220;status&#8221;: &#8220;OFFLINE&#8221; .<\/p>\n\n\n\n<p>If we have no tests written for this request, we might overlook a potential bug here. We can enhance the test by writing two simple tests in JavaScript.<\/p>\n\n\n\n<p>Let\u2019s head to the <strong>Tests<\/strong> tab in the very same request and do it straight away:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\"   src=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/status-tests.png\" alt=\"\" class=\"wp-image-70007\"\/><\/figure><\/div>\n\n\n<p>We have written two tests, the first one checks for the <strong>HTTP 200 OK<\/strong> status code and will fail if it\u2019s any different and the second test checks whether the &#8220;status&#8221; property contains the &#8220;OK&#8221; string. This way we can remove the user error while checking the status manually next time, so when the \u201dGET \/status\u201d request is sent again, software tester can be sure that the results from assertions written in the <strong>Tests<\/strong> tab will tell him whether everything is okay (tests passed) or something is wrong (tests failed).<\/p>\n\n\n\n<p>Let\u2019s now check another endpoint\u2019s response, which could be very time consuming to check manually:<br><code>GET \/books?type=fiction<\/code>.<\/p>\n\n\n\n<p>This endpoint will return all available books that have the <strong>fiction<\/strong> type assigned to them:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\"   src=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/fiction.png\" alt=\"\" class=\"wp-image-70009\"\/><\/figure><\/div>\n\n\n<p>We only have 4 results here, so again the JavaScript test might seem unreasonable , but let\u2019s assume that another 5000 fiction books are added to the API &#8211; it is no longer that easy to check if this request with the \u201d?type=fiction\u201d query parameter returns only results with the &nbsp;<code>\"type\": \"fiction\u201d<\/code> &nbsp;key-value pair.&nbsp;<\/p>\n\n\n\n<p>For that we can write a test that will check whether the &nbsp;&#8220;type&#8221;: &#8220;fiction\u201d key-value pair is present in every returned object:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\"   src=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/fiction-test.png\" alt=\"\" class=\"wp-image-70010\" srcset=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/fiction-test.png 945w, https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/fiction-test-730x504.png 730w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/figure><\/div>\n\n\n<p>We\u2019ve&nbsp; also added a counter of total available objects in the response, so we have a better view on what\u2019s going on in the response. Now we can remove the query parameter from the endpoint and check if the test will fail:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\"   src=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/fiction-test-fail.png\" alt=\"\" class=\"wp-image-70012\" srcset=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/fiction-test-fail.png 917w, https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/04\/fiction-test-fail-730x623.png 730w\" sizes=\"auto, (max-width: 917px) 100vw, 917px\" \/><\/figure><\/div>\n\n\n<p>Now we will always be getting additional information about the responses, so the software tester sending these requests has to check test results instead of huge response bodies by himself. We have only touched the tip of the API iceberg here. Now imagine how well this works if your API responses have 30 properties and a lot of these properties have to be checked every time the test is run. That\u2019s why it\u2019s a good idea to optimise your work using JavaScript in Postman, so no time is wasted and tests are much more efficient overall.<\/p>\n\n\n\n<p>Here are a few key takeaways from the applied solution:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>JavaScript takes Postman to the next level when it comes to time-saving<\/strong><br>Understanding the complexity of JavaScript in Postman is the first step. The ability to write JavaScript tests directly within Postman gives us the power to automate our validation processes, like in test automation.<\/li>\n<\/ol>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Crafting precise assertions will make regression testing as easy as it can be<\/strong><br>Postman provides a powerful set of assertions that allow us to inspect every aspect of an API response. Crafting precise assertions ensures that our tests are not only comprehensive but also resilient to changes in the API.<\/li>\n<\/ol>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Test automation integration<\/strong><br>When our Postman collection is full of assertions for various tests, we can then integrate our Postman tests into the broader test automation strategy. By incorporating these tests into continuous integration pipelines, we ensure that our assertions are executed automatically, providing swift feedback on the health of the API with each build.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Outcome<\/strong><\/h2>\n\n\n\n<p>Implementing JavaScript tests in Postman gives us a ton of benefits in the long run:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Time efficiency<\/strong><br>Assertion automation significantly reduces the time spent on manual testing. With Postman, we can delegate the execution of test cases, allowing QA teams to allocate time to more strategic testing efforts.<\/li>\n<\/ol>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Precision in validation<\/strong><br>Postman&#8217;s assertion capabilities empower us to validate responses with precision. This not only improves the accuracy of our tests but also increases confidence in the reliability of the API.<\/li>\n<\/ol>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Comprehensive test coverage<\/strong><br>Automating the assertion of responses enhances overall test coverage. In addition, by inspecting critical data points, we contribute to a more thorough evaluation of the API functionality and integrity.<\/li>\n<\/ol>\n\n\n\n<p>In conclusion, integrating JavaScript tests into our Postman workflows is a smart and strategic move towards achieving faster, more precise, and adaptable API testing. Harnessing the capabilities of Postman does not only optimise our testing processes, but also fortifies our QA practices, ensuring the delivery of high-quality software which we strive for.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>API testing is essential for good software, and Postman has made it easier by letting us use JavaScript to check our work. In this article, we&#8217;ll see how using JavaScript in Postman helps us make sure our software is working right, saving us time and making our testing process smoother.<\/p>\n","protected":false},"author":24,"featured_media":70059,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[167],"tags":[166,77,160,165,163,164,162],"class_list":["post-69980","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-quality-assurance","tag-api-testing","tag-app-testing","tag-javascript","tag-postman","tag-qa","tag-quality-assurance","tag-testing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Enhancing API Testing Efficiency with JavaScript in Postman | Zaven Blog<\/title>\n<meta name=\"description\" content=\"Enhance the effectiveness of API testing by leveraging Postman capabilities for writing JavaScript tests.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enhancing API Testing Efficiency with JavaScript in Postman | Zaven Blog\" \/>\n<meta property=\"og:description\" content=\"Enhance the effectiveness of API testing by leveraging Postman capabilities for writing JavaScript tests.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/\" \/>\n<meta property=\"og:site_name\" content=\"Zaven Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-13T15:36:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-08T20:27:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1950\" \/>\n\t<meta property=\"og:image:height\" content=\"1019\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Patryk Matwiejuk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Patryk Matwiejuk\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/\",\"url\":\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/\",\"name\":\"Enhancing API Testing Efficiency with JavaScript in Postman | Zaven Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zaven.co\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png\",\"datePublished\":\"2024-03-13T15:36:28+00:00\",\"dateModified\":\"2025-04-08T20:27:28+00:00\",\"author\":{\"@id\":\"https:\/\/zaven.co\/blog\/#\/schema\/person\/017034b5dff59fd7636404420c507439\"},\"description\":\"Enhance the effectiveness of API testing by leveraging Postman capabilities for writing JavaScript tests.\",\"breadcrumb\":{\"@id\":\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#primaryimage\",\"url\":\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png\",\"contentUrl\":\"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png\",\"width\":1950,\"height\":1019},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zaven.co\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enhancing API Testing Efficiency with JavaScript in Postman\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zaven.co\/blog\/#website\",\"url\":\"https:\/\/zaven.co\/blog\/\",\"name\":\"Zaven Blog\",\"description\":\"Software development blog. Generative AI, web &amp; mobile applications.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zaven.co\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zaven.co\/blog\/#\/schema\/person\/017034b5dff59fd7636404420c507439\",\"name\":\"Patryk Matwiejuk\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zaven.co\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b3be66f7a46a6e630ec8a8a5e352be82?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b3be66f7a46a6e630ec8a8a5e352be82?s=96&d=mm&r=g\",\"caption\":\"Patryk Matwiejuk\"},\"url\":\"https:\/\/zaven.co\/blog\/author\/patryk-matwiejuk\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enhancing API Testing Efficiency with JavaScript in Postman | Zaven Blog","description":"Enhance the effectiveness of API testing by leveraging Postman capabilities for writing JavaScript tests.","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:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/","og_locale":"en_US","og_type":"article","og_title":"Enhancing API Testing Efficiency with JavaScript in Postman | Zaven Blog","og_description":"Enhance the effectiveness of API testing by leveraging Postman capabilities for writing JavaScript tests.","og_url":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/","og_site_name":"Zaven Blog","article_published_time":"2024-03-13T15:36:28+00:00","article_modified_time":"2025-04-08T20:27:28+00:00","og_image":[{"width":1950,"height":1019,"url":"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png","type":"image\/png"}],"author":"Patryk Matwiejuk","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Patryk Matwiejuk","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/","url":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/","name":"Enhancing API Testing Efficiency with JavaScript in Postman | Zaven Blog","isPartOf":{"@id":"https:\/\/zaven.co\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#primaryimage"},"image":{"@id":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#primaryimage"},"thumbnailUrl":"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png","datePublished":"2024-03-13T15:36:28+00:00","dateModified":"2025-04-08T20:27:28+00:00","author":{"@id":"https:\/\/zaven.co\/blog\/#\/schema\/person\/017034b5dff59fd7636404420c507439"},"description":"Enhance the effectiveness of API testing by leveraging Postman capabilities for writing JavaScript tests.","breadcrumb":{"@id":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#primaryimage","url":"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png","contentUrl":"https:\/\/zaven.co\/blog\/wp-content\/uploads\/2024\/03\/Blog-Post-cover-image-blog-image.png","width":1950,"height":1019},{"@type":"BreadcrumbList","@id":"https:\/\/zaven.co\/blog\/enhancing-api-testing-efficiency-with-javascript-in-postman\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zaven.co\/blog\/"},{"@type":"ListItem","position":2,"name":"Enhancing API Testing Efficiency with JavaScript in Postman"}]},{"@type":"WebSite","@id":"https:\/\/zaven.co\/blog\/#website","url":"https:\/\/zaven.co\/blog\/","name":"Zaven Blog","description":"Software development blog. Generative AI, web &amp; mobile applications.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zaven.co\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zaven.co\/blog\/#\/schema\/person\/017034b5dff59fd7636404420c507439","name":"Patryk Matwiejuk","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zaven.co\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b3be66f7a46a6e630ec8a8a5e352be82?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b3be66f7a46a6e630ec8a8a5e352be82?s=96&d=mm&r=g","caption":"Patryk Matwiejuk"},"url":"https:\/\/zaven.co\/blog\/author\/patryk-matwiejuk\/"}]}},"_links":{"self":[{"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/posts\/69980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/comments?post=69980"}],"version-history":[{"count":21,"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/posts\/69980\/revisions"}],"predecessor-version":[{"id":70377,"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/posts\/69980\/revisions\/70377"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/media\/70059"}],"wp:attachment":[{"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/media?parent=69980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/categories?post=69980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zaven.co\/blog\/wp-json\/wp\/v2\/tags?post=69980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}