Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to copy requests as cURL in Safari?

Achieving the same functionality following alternative steps in Safari is also OK. Or do I need to install either Chrome or Firefox?

like image 310
deepyaman Avatar asked Jul 01 '15 01:07

deepyaman


People also ask

How do I copy a browser request as a cURL?

From Chrome and Edge On the line of the specific resource you are interested in, you right-click with the mouse and you select "Copy as cURL" and it will generate a command line for you in your clipboard. Paste that in a shell to get a curl command line that makes the transfer.

Can I use cURL in browser?

With ReqBin Online Curl Client, you can run Curl commands directly from your browser. No desktop apps or browser plugins required. Just enter the Curl command and click on Run. Built-in Curl command syntax Highlighter will highlight Curl command syntax while you type Curl command.


1 Answers

Open Inspector, change to a new page while it is open, and look at Timeline > Network Requests, right click on the request you want, and pick Copy as cURL

like image 117
Shelby Kira Marvell Avatar answered Oct 08 '22 22:10

Shelby Kira Marvell