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.

SecurityBasicAuth
Request
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
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/send_test_posturl
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
application/json
{
  • "data": {
    • "message_id": "554d2cbd-efe61da3cacb"
    },
  • "metadata": {
    • "command": "send_test_posturl",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}