File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ browser is one of the more common requests and areas people ask for help
55about.
66
77How do you get a curl command line to get a resource, just like the browser
8- would get it, nice and easy? Both Chrome and Firefox have provided this
9- feature for quite some time already!
8+ would get it, nice and easy? Chrome, Firefox and Safari all have this feature.
109
1110## From Firefox
1211
@@ -32,6 +31,19 @@ Chromium installations.
3231
3332![ copy as curl with Chrome] ( chrome-copy-as-curl.png )
3433
34+ ## From Safari
35+
36+ In Safari, the "development" menu isn't visible until you go into
37+ preferences->Advanced and enable it. But once you've done that, you can select
38+ "Show web inspector" in that development menu and get to see a new console pop
39+ up that is similar to the development tools of Firefox and Chrome.
40+
41+ Select the network tab, reload the web page and then you can right click the
42+ particular resources that you want to fetch with curl, as if you did it with
43+ Safari..
44+
45+ ![ copy as curl with Safari] ( safari-copy-as-curl.png )
46+
3547## On Firefox, without using the devtools
3648
3749If this is something you would like to get done more often, you probably find
You can’t perform that action at this time.
0 commit comments