Postman code usually provide JavaScript fetch code in .then syntax.
Is there a way to make async/await syntax default?
Postman code usually provide JavaScript fetch code in .then syntax.
Is there a way to make async/await syntax default?
Welcome to the Postman Community!
There isnβt an option for that code generator - The closest to this would be the NodeJs - Axios
code generator, within the configuration options there is a toggle to choose async/await.
You could raise this as a new feature request on the Postman Code Generators Repo:
@danny-dainton Thanks.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.