Pre-request scripts and Environment variables are deployed to production but experimental!
Full list of feature are here: github.com/liyasthomas/postwoman
Usage:
Open Pre-request scripts by clicking the "<>" icon button under request Method
Set env variables with JavaScript notation: pw.environment.set("key", "value"); inside pre-request script textarea.
Ex: pw.environment.set("route", "/api/users");
Use <<key>> (including double angle brackets) anywhere inside request section as an env var
Ex: <<route>> inside Path field
Screenshots:
Other use cases are:
Including the timestamp in the request headers
Sending a random alphanumeric string in the URL parameters
Pre-request scripts and Environment variables are deployed to production but experimental!
Full list of feature are here: github.com/liyasthomas/postwoman
Usage:
Open Pre-request scripts by clicking the "<>" icon button under request
Method
Set env variables with JavaScript notation:
pw.environment.set("key", "value");
inside pre-request script textarea.<<key>>
(including double angle brackets) anywhere inside request section as an env varScreenshots:
Other use cases are:
Full information can be found here: github.com/liyasthomas/postwoman/p...
cool. thanks for your work!
I'm thinking of something like environment in postman where you can easily change variables without modifying the request.
Actually this is cooking up! and will be deployed soon.
github.com/liyasthomas/postwoman/i...
wow. will be looking forward to this feature. You're awesome! :)
Glad you liked it! Star the project on GitHub, share among your friends/teams 🙏👽🛸✨