APIs & Data
REST API
What It Is
A common style of API that uses URLs and HTTP methods (GET, POST, etc.)
Analogy
A library system — you request books (resources) using card numbers (URLs) and specific actions (GET to read, POST to add)
Try It Out
API Type:
/api/usersPOSTRequest
Headers
Content-Type: application/json
Authorization: Bearer sk_live_...abc123
Body
Response
Click "Send Request" to see the response
POST requests send data to the server to create a new resource.
Related Terms in APIs & Data
API (Application Programming Interface)
A waiter at a restaurant — you tell them what you want (request), they bring it from the kitchen (response)
API Key
A VIP pass that tells the bouncer who you are and what you're allowed to do
Request
Placing an order with the waiter
Response
The food the waiter brings back from the kitchen