postman-app-support
postman-app-support copied to clipboard
Access/use package library in gRPC request scripts
Is there an existing request for this feature?
- [X] I have searched the existing issues for this feature request and I know that duplicates will be closed
Is your feature request related to a problem?
I would like to reuse javascript code in gRPC request scripts to keep my code DRY
Describe the solution you'd like
Access package library in gRPC request scripts
Describe alternatives you've considered
Currently I am copy-pasting the code across requests, which is very brittle and time consuming
Additional context
No response
Please prioritize this feature along with priotizing folder level scripts in gRPC. We have to secure our endpoints with OAuth Token calls to a 3rd party auth service and are currently doing exactly what @alvioshki calls out. This is very brittle and time consuming +1.
Hey! gRPC requests now support using packages in scripts from Postman's Package library and external registries such as npm and JSR.
@brinehart You can follow https://github.com/postmanlabs/postman-app-support/issues/11699 for updates on Collection and Folder level scripts in gRPC.