Send notification URL via POST

This function uses the specified URL to send a test message through the POST method of HTTP as form data.

Authorizations:
query Parameters
url
required
string

The URL and query string to send.

Example: url=Click to view...https%3A%2F%2Fwww.example.com%2Fevents.cgi%3Fapikey%3D12345%26user%3Dusername*password%3D12345luggage

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  send_test_posturl \
  url='Click to view...https%3A%2F%2Fwww.example.com%2Fevents.cgi%3Fapikey%3D12345%26user%3Dusername*password%3D12345luggage'

Response samples

Content type
application/json
{
  • "data": {
    • "message_id": "554d2cbd-efe61da3cacb"
    },
  • "metadata": {
    • "command": "send_test_posturl",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}