
I'm going to use an API that I built to demonstrate making HTTP requests that cover all CRUD functionality. the organization is completely up to you. Or, if it's a large project, you may want to use the entire workspace and have various folders within it. Let's make a folder, specific to our project. To begin making requests click the plus icon, which will trigger a dropdown giving you the option to either make a New Request or create a New Folder. Once the app is open, you'll see a mostly "blank" workspace. Step 3: Make your 1st HTTP GET Request w/ Insomnia Once you're more familiar with the functionality of your API, go ahead and open up Insomnia. What's the base URL? Are there any params or headers required? Do you need a request body and, if so, is it in JSON format? Etcetera, etcetera. Read through them and figure out what you'll need to make each request. Hopefully your API has a nice set of docs to guide you through this process. There are directions to prompt you once you're there. Head over to the official Insomnia website to install it on your machine. Feel free to try different platforms to see which one you like best. However, there are more options out there (a popular choice being Postman).

#Using insomnia api how to
In this article I'll be using Insomnia to demonstrate how to do this. Testing endpoints will save time, prevent potential errors (and lots of stress!), and give you a better relationship/understanding with your API.

But without the ability to test your endpoints, you're bound to run into some issues.

So you're building an app that makes various HTTP requests, eh? You know how to make the API calls, whether you're using a library or good ole.
