Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I "copy as curl" in Safari?

Tags:

safari

Is it possible to do "copy as curl" like in Google Chrome and Firefix in Safari? I didn't find anything on google.

like image 406
Sassan Avatar asked Oct 19 '22 21:10

Sassan


2 Answers

Update: Safari 10 seems to support copy as curl. Just right click on domain column and select copy as curl.

I spent quite time trying to debug my webapps in Safari, instead of Chrome, But it seems to be impossible at least for my requirements (ReactDevTools and ReduxDevTools for example.). So I eventually gave up and now I'm using Chrome to debug and Safari to surf. About this particular question I'm pretty sure that there's no way to "copy as curl" a request in Safari.

like image 105
Sassan Avatar answered Jan 04 '23 06:01

Sassan


You could use Charles to intercept your requests. This has a 'Copy as cUrl' action in the context menu just like Chrome.

like image 23
Sander van Leeuwen Avatar answered Jan 04 '23 06:01

Sander van Leeuwen