Ever use a third party API that seems to "randomly" fail on you? Learn how Fiddler Everywhere can jump in and help you to inspect and debug your network traffic.
For years Fiddler has been the gold-standard tool đĽ for inspecting and debugging network issues for web, desktop, and mobile applications. Are you a React, Angular, Vue.js, UWP, Electron, NativeScript, React Native, Ionic, WinForms, ASP.NET, Ruby, (you get the picture) developer? Fiddler don't care! Fiddler is completely tech-agnostic.
In this series, we are looking at a set of specific scenarios many of us regularly encounter during app development. Today we are going to look at that dreaded issue of remote APIs failing on us. These are remote resources that are completely out of our control, thus far more difficult to debug.
This is the final article in the series, so be sure to check out other articles:
NOTE: Have no fear! Fiddler Classic (the original Fiddler) isn't going anywhere! You can still download Fiddler Classic and use it like you always have on Windows.
So let's get started!
As a developer, I'm utilizing a remote third-party API for my app. While it had been working just fine for days, now every time I generate a request, it fails without any error context! I would just copy and paste the endpoint URL into my browser or another tool, but there are authentication tokens and parameters added to the request that make it a difficult request to generate manually.
Frankly I just need to quickly re-create the full request and inspect/debug the failed response, based on real world usage within my app.
Using Fiddler Everywhere, we can easily view, record, play back, and inspect individual network requests made by any desktop apps running locally (including any modern web browser).
To diagnose and debug this particular issue we can:
NOTE: This is far and away my favorite step. Why? Instead of just loading the URI into to the API Composer, Fiddler Everywhere also transposes any header values or other parameters to duplicate the request!
Today we took a quick look at how Fiddler Everywhere can be used to quickly diagnose and fix issues found when remote APIs fail.
What's next on your Fiddler journey?
Start your using Fiddler Everywhere by downloading a trial today for either macOS, Linux, or Windows. After that, read about an exciting new product in the Fiddler family: Fiddler Jam.
Happy Fiddling! đ¸
A maker at heart and a supporter of the open web, Rob is Developer Relations Lead at Blues Wireless. You can find Rob rambling incoherently on Twitter @RobLauer.