Edit

GetHTTPRequest()

Result type:  text

Definition:  Call from an HTTP handler in the CLI on Datacentre to get the actual HTTP request, including method. Use this for handlers invoked via a REST evaluate when server-side scipt loading is enabled. This returns just the first line of the request. You can get the full headers with GetHTTPRequestHeaders()

See Also:

GetHTTPRequestHeaders: Get the HTTP request headers when processing a REST request on the server

GetHTTPRequestPayload: Get the POST payload of an HTTP or REST request

GetHTTPServerPort: Get port of an HTTP server

PutHTTPRequestResponse: Put additional response information for an HTTP request

SSE_Send: Push SSE data to an HTTP client

StartHTTPServer: Start an HTTP server

StopHTTPServer: Stop an HTTP server