-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User-agent doesn't change #25
Comments
Unfortunately this is a restriction of the XMLHttpRequest specification - (http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method) which Postman uses. I am going to add a prompt in the interface that these headers can not be set in the next release. Postman is going to support a proxy server in the future through which you can bypass this restriction. |
You can change the User-Agent now using the Chrome settings. Go inside the web inspector and press the Settings icon in the bottom right. A user-agent setting will come up. |
Work around for this will be available in the next Postman version using a Twisted proxy. Will put up the details on the Postman wiki. |
Kind of a security flaw to go through a 3rd-party Twisted proxy... |
Hmm. It's a simple script and available here - https://github.com/a85/POSTMan-Chrome-Extension/blob/master/proxy/proxy_server.py. You should only keep this running while you are testing an API with Postman though. |
@a85 Using chrome settings works really well. |
Setting up the user-agent in the request headers doesn't affect anything
The text was updated successfully, but these errors were encountered: