hTTPPost

Net.hTTPPost(url, postData, [timeout])

Parameters

url URL to send HTTP POST request to.
postData Data to send as part of POST request as a string.
timeout (optional) Timeout in milliseconds.

Returns

The HTTP POST request response as a string.

Description

Sends an HTTP POST request to url with postData stored in the request body. If timeout is specified the request will timeout after timeout milliseconds. Suspends script execution until the request completes, or the request times out.