Edit

GetHTTPRequestPayload([bAsPath])

Result type:  text

Definition:  Call from an HTTP handler to get the POST payload. The bAsPath option will get the path of a temp file containing the payload only when running in CLi on Datacentre, otherwise the payload data itself is returned as a string.

See Also:

GetHTTPRequest: Get the HTTP request when processing a REST request on the server

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

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