Fetch and Cache Data
Endpoints
Cache POST Requests
POST
Fetch and Cache Data
Authorizations
Headers
Your unique project endpoint. This is only required for this example. You should be accessing your unique endpoint directly, instead of the sandbox endpoint. If your endpoint is: https://my-special-endpoint.apicaching.io, set the value of this header to 'my-special-endpoint'.
Your origin API URL where you fetch your data from
Max age for cache validity in seconds
Stale-while-revalidate period in seconds
Body
application/json
The body is of type object.
Response
Data fetched and cached successfully
The response is of type object.
