This function uses the specified URL to send a test message through the POST method of HTTP as form data.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ send_test_posturl \ url='Click to view...https%3A%2F%2Fwww.example.com%2Fevents.cgi%3Fapikey%3D12345%26user%3Dusername*password%3D12345luggage'
{- "data": {
- "message_id": "554d2cbd-efe61da3cacb"
}, - "metadata": {
- "command": "send_test_posturl",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}