Snippets about curl
2 snippets
-
SNP108
Purge the Cloudflare cache from the terminal
After a deploy, make Cloudflare forget the old pages, without clicking through the dashboard.
5 lines of sh in 2 blocks, 5 lines of explanation.
#3B6 -
SNP058
Send JSON with curl
POST a JSON body to an API from the terminal, and read the answer.
5 lines of sh in 2 blocks, 4 lines of explanation.
#B12