{"id":1609,"date":"2015-01-06T13:15:06","date_gmt":"2015-01-06T11:15:06","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=1609"},"modified":"2015-01-03T15:40:48","modified_gmt":"2015-01-03T13:40:48","slug":"testing-network-errors-with-mongodb","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/","title":{"rendered":"Testing Network Errors With MongoDB"},"content":{"rendered":"<p>Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you&#8217;re testing your application&#8217;s handling of network hiccups.<\/p>\n<p>You have options: you could use <a href=\"http:\/\/www.kchodorow.com\/blog\/2011\/04\/20\/simulating-network-paritions-with-mongobridge\/\">mongobridge<\/a> to proxy between the client and the server, and at just the right moment, kill mongobridge.<\/p>\n<p>Or you could use packet-filtering tools to accomplish the same: <a href=\"https:\/\/help.ubuntu.com\/community\/IptablesHowTo\">iptables<\/a> on Linux and <a href=\"https:\/\/developer.apple.com\/library\/mac\/documentation\/Darwin\/Reference\/ManPages\/man8\/ipfw.8.html\">ipfw<\/a> or <a href=\"https:\/\/developer.apple.com\/library\/mac\/documentation\/Darwin\/Reference\/ManPages\/man8\/pfctl.8.html\">pfctl<\/a> on Mac and BSD. You could use one of these tools to block MongoDB&#8217;s port at the proper moment, and unblock it afterward.<br \/>\nThere&#8217;s yet another option, not widely known, that you might find simpler: use a MongoDB &#8220;failpoint&#8221; to break your connection.<\/p>\n<p>Failpoints are our internal mechanism for triggering faults in MongoDB so we can test their consequences. <a href=\"http:\/\/www.kchodorow.com\/blog\/2011\/04\/20\/simulating-network-paritions-with-mongobridge\/\">Read about them on Kristina&#8217;s blog<\/a>. They&#8217;re not meant for public consumption, so you didn&#8217;t hear about it from me.<\/p>\n<p>The first step is to start MongoDB with the special command-line argument:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">mongod --setParameter enableTestCommands=1<\/pre>\n<p>Next, log in with the <code>mongo<\/code> shell and tell the server to abort the next two network operations:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&gt; db.adminCommand({\r\n...   configureFailPoint: 'throwSockExcep',\r\n...   mode: {times: 2}\r\n... })\r\n2014-03-20T20:31:42.162-0400 trying reconnect to 127.0.0.1:27017 (127.0.0.1) failed<\/pre>\n<p>The server obeys you instantly, before it even replies, so the command itself appears to fail. But fear not: you&#8217;ve simply seen the first of the two network errors you asked for. You can trigger the next error with any operation:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&gt; db.collection.count()\r\n2014-03-20T20:31:48.485-0400 trying reconnect to 127.0.0.1:27017 (127.0.0.1) failed<\/pre>\n<p>The third operation succeeds:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&gt; db.collection.count()\r\n2014-03-20T21:07:38.742-0400 trying reconnect to 127.0.0.1:27017 (127.0.0.1) failed\r\n2014-03-20T21:07:38.742-0400 reconnect 127.0.0.1:27017 (127.0.0.1) ok\r\n1<\/pre>\n<p>There&#8217;s a final &#8220;failed&#8221; message that I don&#8217;t understand, but the shell reconnects and the command returns the answer, &#8220;1&#8221;.<\/p>\n<p>You could use this failpoint when testing a driver or an application. If you don&#8217;t know exactly how many operations you need to break, you could set <code>times<\/code> to 50 and, at the end of your test, continue attempting to reconnect until you succeed.<\/p>\n<p>Ugly, perhaps, but if you want a simple way to cause a network error this could be a reasonable approach.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"http:\/\/emptysqua.re\/blog\/mongodb-testing-network-errors\/\">Testing Network Errors With MongoDB<\/a> from our <a href=\"http:\/\/www.webcodegeeks.com\/wcg\/\">WCG partner<\/a> Jesse Davis at the <a href=\"http:\/\/emptysqua.re\/blog\/\">A. Jesse Jiryu Davis<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you&#8217;re testing your application&#8217;s handling of network hiccups. You have options: you could use mongobridge to proxy between the client and the server, and at just the right moment, kill mongobridge. &hellip;<\/p>\n","protected":false},"author":29,"featured_media":1650,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[57],"class_list":["post-1609","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nosql","tag-mongodb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Testing Network Errors With MongoDB - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you&#039;re testing\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Testing Network Errors With MongoDB - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you&#039;re testing\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-06T11:15:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jesse Davis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/jessejiryudavis\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jesse Davis\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/\"},\"author\":{\"name\":\"Jesse Davis\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/294d6819cb410ef55f273ecf25426c56\"},\"headline\":\"Testing Network Errors With MongoDB\",\"datePublished\":\"2015-01-06T11:15:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/\"},\"wordCount\":397,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg\",\"keywords\":[\"MongoDB\"],\"articleSection\":[\"NoSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/\",\"name\":\"Testing Network Errors With MongoDB - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg\",\"datePublished\":\"2015-01-06T11:15:06+00:00\",\"description\":\"Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you're testing\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NoSQL\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/nosql\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Testing Network Errors With MongoDB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/294d6819cb410ef55f273ecf25426c56\",\"name\":\"Jesse Davis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2db0fdaadd8cd6b86d93e1205e30dd3b43e3c46b91826513ab618934c3db8cf9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2db0fdaadd8cd6b86d93e1205e30dd3b43e3c46b91826513ab618934c3db8cf9?s=96&d=mm&r=g\",\"caption\":\"Jesse Davis\"},\"description\":\"Jesse is a senior engineer at MongoDB in New York City. He specializes in Python, MongoDB drivers, and asynchronous frameworks.\",\"sameAs\":[\"http:\/\/emptysqua.re\/blog\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/jessejiryudavis\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/jesse-davis\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Testing Network Errors With MongoDB - Web Code Geeks - 2026","description":"Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you're testing","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:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/","og_locale":"en_US","og_type":"article","og_title":"Testing Network Errors With MongoDB - Web Code Geeks - 2026","og_description":"Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you're testing","og_url":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2015-01-06T11:15:06+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg","type":"image\/jpeg"}],"author":"Jesse Davis","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/jessejiryudavis","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Jesse Davis","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/"},"author":{"name":"Jesse Davis","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/294d6819cb410ef55f273ecf25426c56"},"headline":"Testing Network Errors With MongoDB","datePublished":"2015-01-06T11:15:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/"},"wordCount":397,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg","keywords":["MongoDB"],"articleSection":["NoSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/","url":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/","name":"Testing Network Errors With MongoDB - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg","datePublished":"2015-01-06T11:15:06+00:00","description":"Someone asked on Twitter today for a way to trigger a connection failure between MongoDB and the client. This would be terribly useful when you're testing","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/11\/mongodb-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/nosql\/testing-network-errors-with-mongodb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"NoSQL","item":"https:\/\/www.webcodegeeks.com\/category\/nosql\/"},{"@type":"ListItem","position":3,"name":"Testing Network Errors With MongoDB"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/294d6819cb410ef55f273ecf25426c56","name":"Jesse Davis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2db0fdaadd8cd6b86d93e1205e30dd3b43e3c46b91826513ab618934c3db8cf9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2db0fdaadd8cd6b86d93e1205e30dd3b43e3c46b91826513ab618934c3db8cf9?s=96&d=mm&r=g","caption":"Jesse Davis"},"description":"Jesse is a senior engineer at MongoDB in New York City. He specializes in Python, MongoDB drivers, and asynchronous frameworks.","sameAs":["http:\/\/emptysqua.re\/blog\/","https:\/\/x.com\/https:\/\/twitter.com\/jessejiryudavis"],"url":"https:\/\/www.webcodegeeks.com\/author\/jesse-davis\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/1609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=1609"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/1609\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/1650"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=1609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=1609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=1609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}