3/23/2023 0 Comments Using insomnia api![]() ![]() We’ll name our new workspace “Open Weather Map” so that we know what project these requests are associated with. ![]() Throughout this article I’ll use the API from Open Weather Map which is a free service that provides weather data. Creating a new workspace is like grouping requests together as well as environment variables. It’s super fast and feature rich without feeling bloated.It makes authentication a breeze for testing APIs.Insomnia is a REST client for debugging APIs.Insomnia makes it incredibly easy to make API requests using whatever authentication your service might be requiring. In most APIs you’ll also need to authenticate yourself in some fashion. What Insomnia does is allows you to make requests and view that data directly. In a browser, that data is being displayed as HTML (for the most part). You are requesting this page, downloading the response from the server and doing something with that data. In a way, the browser you’re using right now to read this is a REST client. If you aren’t familiar with what a REST client is, it’s essentially a way to make web based requests to a service or API endpoint. I chuckled.) for debugging APIs that has an app available for Mac, Windows and Linux. Insomnia is a REST client (get it? Insomnia. In this post I’ll talk about some of the ways Insomnia has made my life easier. After using Postman for years I’ve made the switch over to Insomnia for the last year or so. Anyone who uses APIs knows that a request tool is invaluable when testing or consuming API requests. We interact with and build APIs pretty regularly at Flywheel. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |