Happy Monday folks!
Youâll never guess what⊠weâve just released Postman 7.26! So grab the latest version from our website, or update your app, and read on to see which new features that version brings.
- Axios code snippets!
- Better token management for OAuth 2.0
- Improvements to variables in request body
Axios code snippets!
We have some great news for Axios users, you can now generate code snippets for Axios directly from Postman! Once youâre happy with your request and ready to try it out in your app, click Code, and search for NodeJs - Axios
in the list.
If you didnât know you can use Postman to generate code snippets in many languages, @jetison just recorded a demo video that teaches you everything you need to know about it, watch it here.
Better token management for OAuth 2.0
OAuth 2.0 is âthe industry-standard protocol for authorizationâ (source), and it is widely use to authenticate against APIs. Weâve added new ways to manage your OAuth 2.0 tokens within Postman, specifically you can now:
- Delete all your tokens
- Delete all your expired tokens only
To do so, navigate to Manage Tokens, open the dropdown next to All Tokens, then select either All Tokens or Expired Tokens.
Improvements to variables in request body
Weâve made it easier to use Postman variables in the body of requests. When entering variables, youâll now be prompted with name suggestions, including the current value of the variable. On top of that, if youâre using JSON youâll get extra syntax highlighting and formatting!
You can try it out by editing the body of a request and entering either a variable that is saved in the collection, environment, or globally, or you can try using one of the dynamic variables (e.g. {{$randomBs}}
).
As usual, these are only the highlights. If youâd like to see the full lists of improvements and bug fixes that were also part of that release, you can find the full release notes here.
Hope youâll enjoy this release and let us know if you have any feedback!