This question already has an answer here:

I was wondering if anyone knew of a way of capturing and modifying the requests sent out by a Java application over HTTP. I can see them in Wireshark, but I also want to be able to modify them in transit (modify destination/POST data).

Many thanks.

marked as duplicate by Xander, Iszi, Adi, TildalWave, scuzzy-delta Jan 15 '14 at 17:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You could do that with a Http Proxy.

In this related question you will find a list of proposed http proxies How can I intercept and modify HTTP requests?

Not the answer you're looking for? Browse other questions tagged or ask your own question.