3 ms·
One great use of curl: Most web browsers have a "Copy as cURL" function in the web developer menus. in Firefox it is: tools -> Web Developer -> Network Under
by m463 7y ago
One great use of curl:
Most web browsers have a "Copy as cURL" function in the web developer menus.
in Firefox it is: tools -> Web Developer -> Network
Under this tab, you will see all the requests used to construct a web page.
You can right click on an item and do "Copy as cURL"
If a web page has some API you want to explore or use in a program, you can recreate it this way.
- zamadatix 7y agoI find copy as Fetch easier to work off of (copies as prettified JSON instead of a single line CLI string) + it comes with the added bonus of being able to do any quick tinkering in the same dev tools window.