Making API Requests

All API endpoints accept and return JSON over HTTPS. Include the Accept: application/json header with every request.

Base URL

https://api.example.com/v1

Example request

GET /v1/articles HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_API_KEY
Accept: application/json

A successful response returns a 200 OK status with a JSON body.

Leave a Reply

Your email address will not be published. Required fields are marked *