![]() I’ve been a big fan of a tool called Insomnia in recent years.īut, for testing authenticated requests it was always a bit of a pain to locate the JWT auth token, copy it and paste it across to Insomnia, then set up the request etc. There are of course other ways to achieve similar results. Then you can download the resulting json, or just edit the request and try again. The Network Console springs into life and shows you the request, including things like Query parameters, the request Body and Auth tokens etc.įrom here you can click Send to replay the request, at which point you can easily inspect the response for that request… With that, head over to any network request in the Dev Tools, right-click and select Edit and Replay and… So long as you’re using the new (actually really good) Chromium version of Edge, you can enable the shiny new Network Console for your browser. ![]() Microsoft Edge now includes an Edit and Replay feature comes in, and it’s pretty darn useful.ĭid you know? You can access additional tutorials, videos, and download source code from the subscribers vault. You can inspect the request, check what parameters are being sent across, then look at the response and inspect the resulting data to see why your feature might be working the way it is.īut, what if you want to play with that request, tweak it’s parameters, or just replay the request, without having to drive everything from the UI? ![]() ![]() You test locally everything works as it should.Īny number of things can break your app in prod but one of the biggies is data coming back (or being posted) via your network calls which doesn’t match what you expected.įor some time we’ve been able to inspect those network requests via the browser’s Dev Tools, to see what’s really going on. You know how it goes you build your shiny new feature using Blazor, React, Vue. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |