Skip to main content

cURL

cURL (Client for URL) - is a command-line tool for transferring data specified with URL syntax.

How to make requests using cURL?

GET
curl https://example.org
GET with Authorization
curl --header "Authorization: Bearer <TOKEN HERE>" https://example.org
POST json
curl --header "Content-Type: application/json" \
--request POST \
--data "{}" \
https://example.org