DEV Community

Discussion on: How to use Insomnia to Test API Endpoints

Collapse
 
lazar955 profile image
Lazar Lukic

Insomnia is much more powerful than shown here unfortunately. You can define environment variables, put constant value in them or extract a value from response and save them in environment variable. This is very useful when testing dependant routes. Generate client code from your request (e.g CURL), saved me a ton of time when you are in VPN on a server machine and calling you service. Almost forgot, plugins, simply install with npm, themes and much much more.

Collapse
 
xergiodf profile image
Sergio David Fernández

I recently switched from insomnia to postman due not having a way to sync your workspace as postman has. Waiting for this feature someday to switch back.

Collapse
 
bennett1412 profile image
Bennett B Madavana • Edited

We can store our collection as a github repo and sync with as we do with any other remote repo
Not sure if this is new but thought it might be helpful.

Collapse
 
kmcknight91 profile image
Katie McKnight

Absolutely! There are so many awesome features of Insomnia that I didn't include in this quick tutorial.

Collapse
 
lazar955 profile image
Lazar Lukic

If you have the time, make a follow up. I just want what's the best for the Insomnia, to be presented in the best light. Thanks