Can I migrate my pre-request scripts from another API client, like Postman, to Insomnia?
Yes, you can copy and paste your pre-request scripts directly from Postman into an Insomnia pre-request script.
Can I run pre-request scripts without a collection?
No, you can only run pre-request scripts from a collection or a collection that was generated from a document.
Can I use variables in request paths?
Yes. Insomnia supports variables in request paths through template tags and environment variables.
Define variables in your environment, then reference them directly in a request URL using Liquid syntax, for example:
https://api.example.com/users/{{ user_id }}
For detailed usage examples, go to Requests and Pre-request scripts.