Hacker News new | ask | show | jobs
by 2h 1179 days ago
> Tired of copy pasting cURL commands from chrome to your terminal ?

FYI for anyone that does this, MITM Proxy is usually a better option for this type of stuff. Not sure about Chrome, but especially with Firefox, you have no way of getting the full raw request on anything with a request body like POST. You have to Copy Request Headers, then Copy POST Data. With MITM Proxy or similar you can just get the full request at once. Also you can inject headers like X-Forwarded-For into all or specific requests.

1 comments

> you have no way of getting the full raw request on anything with a request body like POST

On FF right click on Request -> Copy Value -> As cURL This gives everything and works with POST since a few years at least.

my comment said "full raw request", not whatever you are talking about.
This is literally the full request.
how many times do I need to say "full raw request" before you understand it? I am talking about the wire format HTTP request, not a shell command.