cURL (Terminal)

You can quickly test your API key and endpoints using cURL from your command line:

curl -X GET "https://prostagma.com/api/flights.php" \
     -H "Authorization: Bearer sk_your_api_key_here"
← JavaScript (Fetch)