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!