Skip to main content

cURL

warning

This document has been translated using machine translation without human review.

cURL (Client for URL) is a command-line tool for transferring data specified using 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