{"id":253,"date":"2011-05-26T17:49:46","date_gmt":"2011-05-26T15:49:46","guid":{"rendered":"http:\/\/blog.railsware.com\/?p=253"},"modified":"2012-12-08T01:14:25","modified_gmt":"2012-12-07T22:14:25","slug":"logging-external-http-api-calls-in-rails-log","status":"publish","type":"post","link":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/","title":{"rendered":"Logging external http api calls in Rails log"},"content":{"rendered":"Http api calls are pretty similar to SQL queries &#8211; they query data from external source make it available in ruby. So I think it&#8217;s a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries.\r\n<div style=\"width: 600px; overflow: hidden;\"><a href=\"https:\/\/github.com\/railsware\/http_logger\/raw\/master\/screenshots\/rails_console.png\"><img decoding=\"async\" src=\"https:\/\/github.com\/railsware\/http_logger\/raw\/master\/screenshots\/rails_console.png\" alt=\"example\" \/>\r\n<\/a><\/div>\r\n<!--more-->\r\n\r\nThis simple peace of code could be very helpful in case of debugging HTTP api.\r\nInstallation is pretty simple:\r\n<pre><code class=\"\" data-line=\"\">gem install http_logger<\/code><\/pre>\r\nAnd\r\n<pre><code class=\"\" data-line=\"\">require &#039;http_logger&#039; Net::HTTP.logger = Logger.new(...) Net::HTTP.colorize = true <\/code><\/pre>\r\nIn rails you don&#8217;t have to do anything, as defaults are:\r\n<pre><code class=\"\" data-line=\"\"># Net::HTTP.logger = Rails.logger if defined?(Rails). # Net::HTTP.colorize = true<\/code><\/pre>\r\n&nbsp;\r\n\r\nTODO for v2:\r\n<pre><code class=\"\" data-line=\"\">Completed 200 OK in 150ms (Views: 13.5ms | ActiveRecord: 0.0ms | &lt;strong&gt;Net::HTTP: 115.5ms&lt;\/strong&gt;) <\/code><\/pre>\r\n<h3>Offtop for ruby lovers<\/h3>\r\nWant to show the most interesting part in the source code:\r\n<pre><code class=\"\" data-line=\"\"> def request(request, body = nil, &amp;block) ... &lt;strong&gt;response&lt;\/strong&gt; = request_without_log(request, body, &amp;block) ensure ...... if defined?(&lt;strong&gt;response&lt;\/strong&gt;) rails_log(&quot;Response body&quot;, &lt;strong&gt;response&lt;\/strong&gt;.body) unless response.body.is_a?(Net::ReadAdapter) end end<\/code><\/pre>\r\nPay attention on how <strong>ensure<\/strong> works with context.\r\nThe <em>response<\/em> local variable defined inside of <em>def<\/em> and <em>ensure<\/em>, but still accessible after ensure if there was no exception inside of <em>request_without_log<\/em>. This would never be possible in static programming language.","protected":false},"excerpt":{"rendered":"<p>Http api calls are pretty similar to SQL queries &#8211; they query data from external source make it available in ruby. So I think it&#8217;s a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries.<\/p>\n","protected":false},"author":15,"featured_media":3735,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[3],"tags":[],"coauthors":["Bogdan Gusiev"],"class_list":["post-253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Http api calls are pretty similar to SQL queries - they query data from external source make it available in ruby. So I think it&#039;s a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries. This simple peace of code could be very helpful in case of debugging\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Bogdan Gusiev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"| Blog on Engineering, Product Management, Transparency, Culture and many more...\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Logging external http api calls in Rails log | Railsware Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Http api calls are pretty similar to SQL queries - they query data from external source make it available in ruby. So I think it&#039;s a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries. This simple peace of code could be very helpful in case of debugging\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2011\/05\/stack.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2011\/05\/stack.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-05-26T15:49:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-12-07T22:14:25+00:00\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#article\",\"name\":\"Logging external http api calls in Rails log | Railsware Blog\",\"headline\":\"Logging external http api calls in Rails log\",\"author\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/author\\\/bogdan-gusiev\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/05\\\/stack.png\",\"width\":150,\"height\":150},\"datePublished\":\"2011-05-26T17:49:46+03:00\",\"dateModified\":\"2012-12-08T01:14:25+03:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#webpage\"},\"articleSection\":\"Engineering\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/railsware.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/category\\\/development\\\/#listItem\",\"name\":\"Engineering\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/category\\\/development\\\/#listItem\",\"position\":2,\"name\":\"Engineering\",\"item\":\"https:\\\/\\\/railsware.com\\\/blog\\\/category\\\/development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#listItem\",\"name\":\"Logging external http api calls in Rails log\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#listItem\",\"position\":3,\"name\":\"Logging external http api calls in Rails log\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/category\\\/development\\\/#listItem\",\"name\":\"Engineering\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/#organization\",\"description\":\"Blog on Engineering, Product Management, Transparency, Culture and many more...\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/Logo-circle.png\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#organizationLogo\",\"width\":3137,\"height\":1054,\"caption\":\"Railsware logo\"},\"image\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/author\\\/bogdan-gusiev\\\/#author\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/author\\\/bogdan-gusiev\\\/\",\"name\":\"Bogdan Gusiev\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#authorImage\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/author-image-default-96x96.jpg\",\"width\":96,\"height\":96,\"caption\":\"Bogdan Gusiev\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#webpage\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/\",\"name\":\"Logging external http api calls in Rails log | Railsware Blog\",\"description\":\"Http api calls are pretty similar to SQL queries - they query data from external source make it available in ruby. So I think it's a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries. This simple peace of code could be very helpful in case of debugging\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/author\\\/bogdan-gusiev\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/author\\\/bogdan-gusiev\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/05\\\/stack.png\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#mainImage\",\"width\":150,\"height\":150},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/logging-external-http-api-calls-in-rails-log\\\/#mainImage\"},\"datePublished\":\"2011-05-26T17:49:46+03:00\",\"dateModified\":\"2012-12-08T01:14:25+03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/railsware.com\\\/blog\\\/\",\"description\":\"Blog on Engineering, Product Management, Transparency, Culture and many more...\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/railsware.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Logging external http api calls in Rails log | Railsware Blog","description":"Http api calls are pretty similar to SQL queries - they query data from external source make it available in ruby. So I think it's a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries. This simple peace of code could be very helpful in case of debugging","canonical_url":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#article","name":"Logging external http api calls in Rails log | Railsware Blog","headline":"Logging external http api calls in Rails log","author":{"@id":"https:\/\/railsware.com\/blog\/author\/bogdan-gusiev\/#author"},"publisher":{"@id":"https:\/\/railsware.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2011\/05\/stack.png","width":150,"height":150},"datePublished":"2011-05-26T17:49:46+03:00","dateModified":"2012-12-08T01:14:25+03:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#webpage"},"isPartOf":{"@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#webpage"},"articleSection":"Engineering"},{"@type":"BreadcrumbList","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/railsware.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/railsware.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/railsware.com\/blog\/category\/development\/#listItem","name":"Engineering"}},{"@type":"ListItem","@id":"https:\/\/railsware.com\/blog\/category\/development\/#listItem","position":2,"name":"Engineering","item":"https:\/\/railsware.com\/blog\/category\/development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#listItem","name":"Logging external http api calls in Rails log"},"previousItem":{"@type":"ListItem","@id":"https:\/\/railsware.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#listItem","position":3,"name":"Logging external http api calls in Rails log","previousItem":{"@type":"ListItem","@id":"https:\/\/railsware.com\/blog\/category\/development\/#listItem","name":"Engineering"}}]},{"@type":"Organization","@id":"https:\/\/railsware.com\/blog\/#organization","description":"Blog on Engineering, Product Management, Transparency, Culture and many more...","url":"https:\/\/railsware.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2020\/11\/Logo-circle.png","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#organizationLogo","width":3137,"height":1054,"caption":"Railsware logo"},"image":{"@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/railsware.com\/blog\/author\/bogdan-gusiev\/#author","url":"https:\/\/railsware.com\/blog\/author\/bogdan-gusiev\/","name":"Bogdan Gusiev","image":{"@type":"ImageObject","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#authorImage","url":"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2021\/06\/author-image-default-96x96.jpg","width":96,"height":96,"caption":"Bogdan Gusiev"}},{"@type":"WebPage","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#webpage","url":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/","name":"Logging external http api calls in Rails log | Railsware Blog","description":"Http api calls are pretty similar to SQL queries - they query data from external source make it available in ruby. So I think it's a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries. This simple peace of code could be very helpful in case of debugging","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/railsware.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#breadcrumblist"},"author":{"@id":"https:\/\/railsware.com\/blog\/author\/bogdan-gusiev\/#author"},"creator":{"@id":"https:\/\/railsware.com\/blog\/author\/bogdan-gusiev\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2011\/05\/stack.png","@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#mainImage","width":150,"height":150},"primaryImageOfPage":{"@id":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/#mainImage"},"datePublished":"2011-05-26T17:49:46+03:00","dateModified":"2012-12-08T01:14:25+03:00"},{"@type":"WebSite","@id":"https:\/\/railsware.com\/blog\/#website","url":"https:\/\/railsware.com\/blog\/","description":"Blog on Engineering, Product Management, Transparency, Culture and many more...","inLanguage":"en-US","publisher":{"@id":"https:\/\/railsware.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"| Blog on Engineering, Product Management, Transparency, Culture and many more...","og:type":"article","og:title":"Logging external http api calls in Rails log | Railsware Blog","og:description":"Http api calls are pretty similar to SQL queries - they query data from external source make it available in ruby. So I think it's a good idea to track them in the Rails logger just like ActiveRecord does with SQL queries. This simple peace of code could be very helpful in case of debugging","og:url":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/","og:image":"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2011\/05\/stack.png","og:image:secure_url":"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2011\/05\/stack.png","og:image:width":150,"og:image:height":150,"article:published_time":"2011-05-26T15:49:46+00:00","article:modified_time":"2012-12-07T22:14:25+00:00"},"aioseo_meta_data":{"post_id":"253","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-04 12:44:08","updated":"2025-09-26 11:12:39","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/railsware.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/railsware.com\/blog\/category\/development\/\" title=\"Engineering\">Engineering<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tLogging external http api calls in Rails log\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/railsware.com\/blog"},{"label":"Engineering","link":"https:\/\/railsware.com\/blog\/category\/development\/"},{"label":"Logging external http api calls in Rails log","link":"https:\/\/railsware.com\/blog\/logging-external-http-api-calls-in-rails-log\/"}],"categories_data":[{"name":"Engineering","link":"https:\/\/railsware.com\/blog?category=development"}],"post_thumbnails":"https:\/\/railsware.com\/blog\/wp-content\/uploads\/2011\/05\/stack.png","article_background":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/posts\/253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/comments?post=253"}],"version-history":[{"count":44,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/posts\/253\/revisions"}],"predecessor-version":[{"id":13939,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/posts\/253\/revisions\/13939"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/media\/3735"}],"wp:attachment":[{"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/media?parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/categories?post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/tags?post=253"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/railsware.com\/blog\/wp-json\/wp\/v2\/coauthors?post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}