Options
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/v1
CURL
curl -X OPTIONS https://api.naurt.net/final-destination/v1 -i
Response
JSON
{'Content-Type': 'application/json', 'allow': 'POST'}
{"current_version":"v1", "deprecated_versions":[]}