Thursday, April 14, 2016

How to Make a CURL Request Identicle to a Browser Request

It is possible to get the identical CURL request directly from the browser. Most of the modern browsers have it's own developer tool set. I will use Firebug for this.

1. Right click the browser and Click 'Inspect Element with Firebug'


2.  Click on Network tab

3. Enter url of the request and press Enter.

4. Write click on the required request and click 'Copy as cURL'


5. Identical CURL request command will be copied.