Examples of OPTIONS

Making an OPTIONS request against a particular resource returns the list of verbs allowed against that resource in the Allow header of the response. For example, using OPTIONS with incidents:

https://mysite.example.com/services/rest/connect/v1.4/incidents

returns the following headers:

Allow -> OPTIONS, GET, HEAD, POST, PATCH, DELETE
Connection -> Keep-Alive
Content-Language -> en-US
Content-Type -> application/schema+json
Date -> Thu, 30 Apr 2015 19:42:07 GMT
F5_do_compression -> yes
Keep-Alive -> timeout=15, max=94
Link -> <https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/incidents>;
rel="describedby"
RNT-Machine -> 40.30
RNT-Time -> D=3924741 t=1430422927372450
Server -> Apache
Transfer-Encoding -> chunked
Vary -> User-Agent

Making an OPTIONS request against a sub-resource, for example:

https://mysite.example.com/services/rest/connect/v1.4/incidents/threads

returns the following headers:

Allow -> OPTIONS, GET, HEAD, POST, PATCH
Connection -> Keep-Alive
Content-Language -> en-US
Content-Type -> application/schema+json
Date -> Thu, 30 Apr 2015 19:51:15 GMT
F5_do_compression -> yes
Keep-Alive -> timeout=15, max=100
Link -> <https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/incidents/threads>;
rel="describedby"
RNT-Machine -> 40.30
RNT-Time -> D=132452 t=1430423475853613
Server -> Apache
Transfer-Encoding -> chunked
Vary -> User-Agent