Snippets about curl

2 snippets

Back to all snippets

  1. 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.

  2. 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 curl cmd