{"id":6566,"date":"2016-12-05T11:19:50","date_gmt":"2016-12-05T11:19:50","guid":{"rendered":"https:\/\/stackify.com\/?p=6566"},"modified":"2023-05-01T17:09:16","modified_gmt":"2023-05-01T17:09:16","slug":"prefix-remote-http-calls","status":"publish","type":"post","link":"https:\/\/stackify.com\/prefix-remote-http-calls\/","title":{"rendered":"How to Use Prefix to Troubleshoot Remote HTTP Calls"},"content":{"rendered":"<p><a href=\"https:\/\/stackify.com\/prefix\">Prefix<\/a> enables to developers to easily see what their code is doing. Including SQL calls, errors, logs, and much more. One of the key features is tracking remote HTTP calls to know if they worked, how long they took, etc. Viewing what the code did on a remote server takes it one step further to simplify the daily life of a developer who is testing or troubleshooting their code.<\/p>\n<p><a href=\"https:\/\/stackify.com\/prefix\" target=\"_blank\" rel=\"noopener\">Learn more about Prefix<\/a><\/p>\n<h2>Why Do You Need to Trace Remote HTTP Calls?<\/h2>\n<p>This is insanely useful if your code does a lot of REST API calls to another web service.&nbsp;When troubleshooting an application, it is relatively easy to debug what the code is doing on your local machine. But when your code makes an HTTP web service call to a remote server, you have no idea what is going on remotely. This feature is a lifesaver\/bug killer for quickly troubleshooting application problems. With remote HTTP call tracing, now you can<strong> seamlessly see what is happening locally and remotely<\/strong>. #amazing<\/p>\n<h2>How to Enable Remote HTTP Tracing<\/h2>\n<p>First off, you need Prefix on your workstation. Setting up remote tracing is easy. All you need to do is install <a href=\"https:\/\/stackify.com\/retrace\" target=\"_blank\" rel=\"noopener\">Retrace<\/a> on the server that you want to view transactions for. You can do this by starting a free Retrace trial.&nbsp;<em><br \/>\n<\/em><\/p>\n<h2>How to Trace Remote HTTP Calls<\/h2>\n<p>Prefix will automatically detect if your code does an HTTP call that it can do remote tracing for. A &#8220;View&#8221; button will then automatically show up to the HTTP call. Just give it a click and in a few seconds you will be able to see the complete transaction trace from the remote server.<\/p>\n<p><em>This example below did an HTTP call to download the home page of a website. That website happened to be a CMS application. So you can see all the MVC child actions, SQL queries, etc.&nbsp;<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6567\" src=\"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/2016-12-05-10_54_38-Stackify-Prefix.png\" alt=\"2016-12-05-10_54_38-stackify-prefix\" width=\"1451\" height=\"1364\"><\/p>\n<p>&nbsp;<\/p>\n<h2>What is Prefix?<\/h2>\n<p>If you are not familiar with Prefix, it is a free tool from Stackify. Remote tracing is now available in Prefix and requires Retrace to be installed on your server.&nbsp;Prefix will warn you if your code is running the same SQL query multiple times, not closing a SQL connection and more. Instantly compare performance stats from QA &amp; Prod to your local request. One click to compare all details in Retrace.&nbsp;Built on Stackify&#8217;s powerful, proven technology, but&nbsp;it&#8217;s&nbsp;so lightweight it will never slow you down.<\/p>\n<p>Retrace APM starts at just <a href=\"https:\/\/stackify.com\/pricing\" target=\"_blank\" rel=\"noopener\">$10 a month<\/a>.<\/p>\n<p><a href=\"http:\/\/cta-redirect.hubspot.com\/cta\/redirect\/207384\/40252f15-3dae-4d33-8bff-ffbeaac88942\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" id=\"hs-cta-img-40252f15-3dae-4d33-8bff-ffbeaac88942\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/207384\/40252f15-3dae-4d33-8bff-ffbeaac88942.png\" alt=\"Get Prefix Power on a server!\"><\/a><br \/>\n<a href=\"http:\/\/cta-redirect.hubspot.com\/cta\/redirect\/207384\/c7d9d886-6812-4ac9-9c37-3a4bd21e9649\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" id=\"hs-cta-img-c7d9d886-6812-4ac9-9c37-3a4bd21e9649\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/207384\/c7d9d886-6812-4ac9-9c37-3a4bd21e9649.png\" alt=\"Get Prefix Power on a server!\"><\/a><br \/>\n<span id=\"hs-cta-wrapper-c7d9d886-6812-4ac9-9c37-3a4bd21e9649\" class=\"hs-cta-wrapper\"><br \/>\n<\/span><\/p>\n<p><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prefix enables to developers to easily see what their code is doing. Including SQL calls, errors, logs, and much more. One of the key features is tracking remote HTTP calls to know if they worked, how long they took, etc. Viewing what the code did on a remote server takes it one step further to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":38605,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7],"tags":[52,34],"class_list":["post-6566","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","tag-developer-tips","tag-developer-tools"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v25.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Prefix to Troubleshoot Remote HTTP Calls - Stackify<\/title>\n<meta name=\"description\" content=\"One of the key features of Prefix is tracing remote HTTP calls to know if they worked, how long they took, etc., to simplify the daily life of a developer.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/stackify.com\/prefix-remote-http-calls\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Prefix to Troubleshoot Remote HTTP Calls - Stackify\" \/>\n<meta property=\"og:description\" content=\"One of the key features of Prefix is tracing remote HTTP calls to know if they worked, how long they took, etc., to simplify the daily life of a developer.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stackify.com\/prefix-remote-http-calls\/\" \/>\n<meta property=\"og:site_name\" content=\"Stackify\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Stackify\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-05T11:19:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-01T17:09:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"210\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Matt Watson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@stackify\" \/>\n<meta name=\"twitter:site\" content=\"@stackify\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Matt Watson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/\"},\"author\":{\"name\":\"Matt Watson\",\"@id\":\"https:\/\/stackify.com\/#\/schema\/person\/d02850a3ac13c2579469b3d0df48a845\"},\"headline\":\"How to Use Prefix to Troubleshoot Remote HTTP Calls\",\"datePublished\":\"2016-12-05T11:19:50+00:00\",\"dateModified\":\"2023-05-01T17:09:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/\"},\"wordCount\":429,\"publisher\":{\"@id\":\"https:\/\/stackify.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg\",\"keywords\":[\"developer tips\",\"developer tools\"],\"articleSection\":[\"Developer Tips, Tricks &amp; Resources\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/\",\"url\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/\",\"name\":\"How to Use Prefix to Troubleshoot Remote HTTP Calls - Stackify\",\"isPartOf\":{\"@id\":\"https:\/\/stackify.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg\",\"datePublished\":\"2016-12-05T11:19:50+00:00\",\"dateModified\":\"2023-05-01T17:09:16+00:00\",\"description\":\"One of the key features of Prefix is tracing remote HTTP calls to know if they worked, how long they took, etc., to simplify the daily life of a developer.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stackify.com\/prefix-remote-http-calls\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage\",\"url\":\"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg\",\"contentUrl\":\"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg\",\"width\":700,\"height\":210},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/stackify.com\/#website\",\"url\":\"https:\/\/stackify.com\/\",\"name\":\"Stackify\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/stackify.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/stackify.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/stackify.com\/#organization\",\"name\":\"Stackify\",\"url\":\"https:\/\/stackify.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/stackify.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/stackify.com\/wp-content\/uploads\/2024\/05\/logo-1.png\",\"contentUrl\":\"https:\/\/stackify.com\/wp-content\/uploads\/2024\/05\/logo-1.png\",\"width\":1377,\"height\":430,\"caption\":\"Stackify\"},\"image\":{\"@id\":\"https:\/\/stackify.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Stackify\/\",\"https:\/\/x.com\/stackify\",\"https:\/\/www.instagram.com\/stackify\/\",\"https:\/\/www.linkedin.com\/company\/2596184\",\"https:\/\/www.youtube.com\/stackify\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/stackify.com\/#\/schema\/person\/d02850a3ac13c2579469b3d0df48a845\",\"name\":\"Matt Watson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/stackify.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/51c331d566bab0683ebf28ba58bdc860?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/51c331d566bab0683ebf28ba58bdc860?s=96&d=mm&r=g\",\"caption\":\"Matt Watson\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use Prefix to Troubleshoot Remote HTTP Calls - Stackify","description":"One of the key features of Prefix is tracing remote HTTP calls to know if they worked, how long they took, etc., to simplify the daily life of a developer.","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:\/\/stackify.com\/prefix-remote-http-calls\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Prefix to Troubleshoot Remote HTTP Calls - Stackify","og_description":"One of the key features of Prefix is tracing remote HTTP calls to know if they worked, how long they took, etc., to simplify the daily life of a developer.","og_url":"https:\/\/stackify.com\/prefix-remote-http-calls\/","og_site_name":"Stackify","article_publisher":"https:\/\/www.facebook.com\/Stackify\/","article_published_time":"2016-12-05T11:19:50+00:00","article_modified_time":"2023-05-01T17:09:16+00:00","og_image":[{"width":700,"height":210,"url":"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg","type":"image\/jpeg"}],"author":"Matt Watson","twitter_card":"summary_large_image","twitter_creator":"@stackify","twitter_site":"@stackify","twitter_misc":{"Written by":"Matt Watson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/#article","isPartOf":{"@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/"},"author":{"name":"Matt Watson","@id":"https:\/\/stackify.com\/#\/schema\/person\/d02850a3ac13c2579469b3d0df48a845"},"headline":"How to Use Prefix to Troubleshoot Remote HTTP Calls","datePublished":"2016-12-05T11:19:50+00:00","dateModified":"2023-05-01T17:09:16+00:00","mainEntityOfPage":{"@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/"},"wordCount":429,"publisher":{"@id":"https:\/\/stackify.com\/#organization"},"image":{"@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage"},"thumbnailUrl":"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg","keywords":["developer tips","developer tools"],"articleSection":["Developer Tips, Tricks &amp; Resources"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/","url":"https:\/\/stackify.com\/prefix-remote-http-calls\/","name":"How to Use Prefix to Troubleshoot Remote HTTP Calls - Stackify","isPartOf":{"@id":"https:\/\/stackify.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage"},"image":{"@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage"},"thumbnailUrl":"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg","datePublished":"2016-12-05T11:19:50+00:00","dateModified":"2023-05-01T17:09:16+00:00","description":"One of the key features of Prefix is tracing remote HTTP calls to know if they worked, how long they took, etc., to simplify the daily life of a developer.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/stackify.com\/prefix-remote-http-calls\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/stackify.com\/prefix-remote-http-calls\/#primaryimage","url":"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg","contentUrl":"https:\/\/stackify.com\/wp-content\/uploads\/2016\/12\/Stackify-PrefixRetrace-http.jpg","width":700,"height":210},{"@type":"WebSite","@id":"https:\/\/stackify.com\/#website","url":"https:\/\/stackify.com\/","name":"Stackify","description":"","publisher":{"@id":"https:\/\/stackify.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/stackify.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/stackify.com\/#organization","name":"Stackify","url":"https:\/\/stackify.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/stackify.com\/#\/schema\/logo\/image\/","url":"https:\/\/stackify.com\/wp-content\/uploads\/2024\/05\/logo-1.png","contentUrl":"https:\/\/stackify.com\/wp-content\/uploads\/2024\/05\/logo-1.png","width":1377,"height":430,"caption":"Stackify"},"image":{"@id":"https:\/\/stackify.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Stackify\/","https:\/\/x.com\/stackify","https:\/\/www.instagram.com\/stackify\/","https:\/\/www.linkedin.com\/company\/2596184","https:\/\/www.youtube.com\/stackify"]},{"@type":"Person","@id":"https:\/\/stackify.com\/#\/schema\/person\/d02850a3ac13c2579469b3d0df48a845","name":"Matt Watson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/stackify.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/51c331d566bab0683ebf28ba58bdc860?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51c331d566bab0683ebf28ba58bdc860?s=96&d=mm&r=g","caption":"Matt Watson"}}]}},"_links":{"self":[{"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/posts\/6566"}],"collection":[{"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/comments?post=6566"}],"version-history":[{"count":0,"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/posts\/6566\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/media\/38605"}],"wp:attachment":[{"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/media?parent=6566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/categories?post=6566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stackify.com\/wp-json\/wp\/v2\/tags?post=6566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}