Options Request

API options can be found by sending an OPTIONS request to the final-destination endpoint. The header will return the allowed request types and a body containing the current API version and a history of deprecated versions will be returned.

Request

OPTIONS  https://api.naurt.net/final-destination/v2
CURL
curl -X OPTIONS https://api.naurt.net/final-destination/v2 -i

Response

JSON
{'Content-Type': 'application/json', 'allow': 'POST'}
{"current_version":"v2", "deprecated_versions":[v1]}
Table of Contents