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 .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
Content-Length: length
{"host":"String","resource":"String"}