POST | /n3tapi/cors/resource/get | Get cross orgin site resource (CORS) to avoid browser triggering errors |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
host | body | string | Yes | |
resource | body | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /n3tapi/cors/resource/get HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
host: String,
resource: String
}