Use this page in the UI when editing the HTTP API service.
ID
The service ID. Always "api".
Name
A descriptive name for the service. Always "HTTP API".
Host name
The HTTP API service can use the same host name / port number as other HTTP services because it also relies on HTTP headers ("x-owncdn-key" / "x-amz-...") to match requests.
The host name (domain name) that this service should process incoming HTTP requests for.
Specify * for any host name.
Port number
The port number that this service should process incoming HTTP requests for.
Specify * for any port number.
Enable CORS
Allow this service to be accessed by JavaScript (for example, using fetch() and XMLHttpRequest) on websites served from other domain names.
For more information on CORS, see https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS
Update (button)
Click to save / update the information on the page. Changes are NOT saved until you click this button.
Last 100 requests (button)
(when editing existing service)
Click this button to see a list of the last 100 HTTP requests processed by this service.