I would like to view the actual http request that gets sent via my cfhttp tag. What is the best tool to capture this?
Specially, I want to see exactly what headers and content are being sent.
I would like to view the actual http request that gets sent via my cfhttp tag. What is the best tool to capture this?
Specially, I want to see exactly what headers and content are being sent.
To expand on what Edward has said and to answer your question about how you can view a request on ColdFusion;
Create a page that simply dumps everything out from GetHttpRequestData().
Have a look at the livedocs on getHttpRequestData() for more information.
Use Charles http proxy. Add the proyport and proxyhost attribute that points to your running instance of Charles. Caveat is that your machine will need to be reachable, and the port open for the server to reach.
I'd use sniffer if other side is also CF/Java based server http://kb2.adobe.com/cps/193/tn_19352.html
© 2022 - 2024 — McMap. All rights reserved.