Is it possible to capture requests with Postman standalone app? - postman

I was wondering - is it possible to capture requests with Postman standalone app, when requests are issued NOT by a browser, but a Console App or a Windows service? My app is making AJAX calls to a server, I want these calls to be captured with Postman app.

Can you set a proxy for your Console App/Windows service? If yes, then it might be possible.
You need to get the port number from Postman's proxy setting and the IP address from your computer. Apply these two as the proxy for your app, and Postman should hopefully be able to listen in to your requests.
Here's the blogpost from where I found this out.

Related

How to use Postman to send request to another PC's server?

I have an Rest Api created on my destination PC. I can make post request to localhost using postman from same PC. but I want to send a post request to the localhost of another machine. What steps do i have to take to achieve this?
To do so, you need to have both pc on the same local network if you want to test locally.
Use the other PC's(where REST API is deployed) IP or hostname to hit the REST API request.

Apex callout to local web service or to web service in test environment?

I'm pretty new to salesforce callout stuff and trying to make a simple GET request from my salesforce callout, but I kept getting this error:
System.CalloutException: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 404 Not Found
I'm pretty sure this is because I'm making request to the web service on my local machine, but since I'm only testing this out, I don't have a server that's available online.
I tried making a callout to just http://www.google.com?q=blah and it works just fine.
So I guess my question is that anyone has a way to make callout to a web service on their local machine?
Just put your ip address instead of 'localhost' and that is it. If you have a router at work/home, you need setup it so it route internet calls to your PC.
That is how it works for me right now. I created a WS using Java. Started a server on 8080 port. From my SFDC application I call xx.xx.xx.xx:8080/bla

Fiddler intercept http Requests TO my Weblogic server?

I have a app running on WebLogic, which exposes some web services for an external client to call. I do not control the WebLogic app, but would like to see what requests it is getting. Is there any good way to do this with Fiddler?
I would recommend using wireshark (previously known as Ethereal).

How can I get Fiddler to display information about a web service request made from my ASP.NET code behind?

I have an ASPX page. When the page is loaded there is code in the code behind that uses an API. The API makes an HTTPS call out to a third party, commercial web service. I am trying to troubleshoot why the API calls are not working properly. Apparently the API actually constructs an XML request that is sent out over HTTPS to the web service. I've been told by the support rep that I need to provide them with the XML that is being sent. The only way I can figure out how to get the XML is to use a tool like Fiddler to see what is being sent out. So how can I use Fiddler to see the contents of the XML request that is being sent from the server out to the web service? I am running everything directly on the server but all I am seeing is the GET request for the ASPX file itself. I am not seeing anything in relation to the HTTPS request that the server code is sending out to the web service. I have not used Fiddler much so I am hoping that maybe I just don't have it set up right to monitor that traffic.
Corey
After mucking around with it a bit I found this post: Why isn't fiddler capturing request when invoking XMLRPC from iis?. That seemed to do the trick! Basically it sounds like the default proxy settings in Win7 are on a per user basis. So I went in and changed the identity of the AppPool for my site to a local user (Administrator) and then it worked great. I started up Fiddler. Then I started up my ASP.NET app and then when I loaded the page I saw the request that went out to the web service from my code behind! Yay!

How to implement a http proxy for localhost in windows?

So that all browser request(no matter firefox or IE) will be sending out via the proxy automatically without any configuration.
Is it kind of thing possible?
What do you want with the proxy? Fiddler is automaticly set as a proxy for ie when it is active. Firefox needs manual configuration. But there is no traffic possible as long fiddler is active without using the proxy.
fiddler