postman-code-generators
postman-code-generators copied to clipboard
[Request feature] Proxy for code snippet
generate proxy setting in code snippet. for now, I Just need in That will be great if this feature exists in postman. it helps me a lot of productivity
@umeshp7 I would love to work on this issue. I was thinking to use http/s-proxy-agent module for generating proxy settings in NodeJS. What you say?
@sastava007 every language has different options to configure a proxy (e.g, --proxy in curl).
This feature request is about setting that proxy configuration (for different languages/code generators) if the given URL will be proxied if the request is sent via Postman as one can set-up proxy in Postman by either relying upon the system proxy or configuring a custom proxy.
I am not sure about the final implementation details but roughly every generator should accept a Postman Collection's ProxyConfig instance which can be used to set-up proxy options.
Usually we don't want to set up proxy on a per request basis. Is there a specific use case you were targeting?
@webholik for my case, I just need curl for a quick debug test connection. It's pretty cool if this feature exists.
PS. sorry for not active Github for a year