TIL: Copy any request as CURL command from Chrome or Firefox
:til: :firefox: :chrome:
Any HTTP request performed by Friefox or Chrome can be copied as CURL
command.
It is possible other browsers this supports too but I had a chance to test it
with those two.
- Open “Network” tab on Developer tools or equivalent.
- Load the page.
- Right click on desired request and select “Copy > “Copy as CURL” or similar command.
This will give you CURL
with parameters included. Can be useful to debug some
requests.