Can postman automatically open a new browser window after response? - postman

Example:
I'd made a request and got response from the API.
Response as below
"status": "SUCCESS"
"redirect_url": "https://www.google.com.tw/"
I need redirect_url automatically open with a new browser window without click.
Does anyone know how to do it?
Thanks a lot.

Related

Could not get any response in postman version 5.5.0

I installed postman's native app in my desktop(Postman version 5.5.0). Now when I send simple soap request, "Could not get any response" message is shown. The same request when sent in my previous postman chrome extension I get the expected response. Please help.
Thanks in advance.
What i have done it is first of all install postman.
Later go to task manager once u open the app, click on Postman on the task manager, and click on finish task.
Later go to your icon desktop and click on it another time. Now it will work properly and launch without any probblem. It works with me with a W8.0

Can someone explain what's happening with the HTTP status?

I get a 404 error while checking the link using requests library for the page below while the page opens fine in the browser when I reach to it from it's parent page. Can someone please help me understand what's happening?. I get the same error using this service as well.
url = "http://www.dell.com/en-us/learn/assets/shared-content~data-sheets~en/documents~2016-v5-systems-oem-10022706.pdf"
response = requests.get(url)
print response.status_code
The first URL sets a cookie, that is sent to the server as you request the second link. If you call the second link with exactly the same request, excluding the cookie, you get a 404.

ksoap2 - SoapObject 'source not found'

I have a code for the BlackBerry App where the "login" button is clicked to fetch xml data. However nothing turns up when I try to show the response returned from the webservice that accepts username and password. My MDS is selected and the browser shows the internet to be working. However I do not see any disable registration option in the debugger configuration window as some posts suggest. My problem is how to get the server response. In the simulator debug console, no System.println msgs are showing up. Debugging line by line, when it comes to the code
SoapObject rpc = new SoapObject(NAMESPACE, METHOD_NAME);
debugger produces the error "Source not found". My focus has actually shifted from getting the server response to actually fixing the path to ksoap2 as it appears not to be found. Any tips on this? Thanks

making WebResponse GetResponse WebBot wait for redirect

I am making a bot that simulates a human user using a specific website.
When the user uses the site here is what happens
the user uploads a file by using the site's Browse button and then clicks Upload
the server responds immediately and the user sees a Please Wait gif
in the meantime the server is evaluating the file for errors. When it is done it redirects, and the user is take to a new .aspx page where they can correct the errors.
What I am not able to do w the bot is make it wait to get the redirect info.
The bot hits the website with this line of code (VB.NET)
Dim Response As HttpWebResponse = CType(Request.GetResponse(), HttpWebResponse)
The Response has the Please Wait gif in it, not the Errors.aspx page. Somehow I need to make the bot, execute that line of code above then, sorta listen to the same port(?) and wait for the web server to send another response.
Ideas?
I ended up just sleeping the thread, then hitting the url again, repeatedly till I got the response I wanted.

api request returns json files and not html/xml browser content

I am sending get httpwebrequests to the facebook graph api and all was working fine till I deployed to production server and now module that expects html/xml response is not working and when tested url in internet explorer, the save file dialog pops up and the file needs to be saved.
Other modules also send requests to the facebook graph but just differ in the form of requests so not sure what is going on here.
Any ideas appreciated
Edit:
Let me try and rephrase this. On my production server the httpwebrequest was not returning the correct result. So to Test it I copied the url http://graph.facebook.com/pepsi which is an example, should return the profile info viewable in the browser. The server has internet explorer v8 and I am not sure why it tries to download the file instead of displaying it in the browser. this is what is happening in my code and when I make a request to a different part of the api, then it works in my app but not in the browser
Your question is not very clear. From what I gather, you want the display the JSON response in a browser. Instead, you are being asked to download a file by the browser.
Well, this is normal behaviour. The response you get from Facebook would most likely have a MIME type of application/json. Most newer web browsers display the text in the browser itself. Some browsers, however don't know how to handle this content type and just ask you to download the file.
You mentioned that your module expects an html/xml response. Try changing this to application/json.
You also said that it works in your app but not in your browser. I don't know what you're making, but generally you wouldn't show raw json to the user in a browser, right?