Description

This function calls the WHM API 1  send_test_posturl function for your specified POST notification URLs.

You can specify POST notification URLs in the Contact Information section of WHM's Basic WebHost Manager Setup interface ( WHM >> Home >> Server Configuration >> Basic WebHost Manager Setup) .

Examples 





https://hostname.example.com:2087/cpsess##########/json-api/verify_posturl_access?api.version=1




https://hostname.example.com:2087/cpsess##########/xml-api/verify_posturl_access?api.version=1




whmapi1 verify_posturl_access



{
  "metadata": {
    "version": 1,
    "reason": "OK",
    "result": "1",
    "command": "verify_posturl_access"
  }
}




<result>
    <metadata>
        <version>1</version>
        <reason>OK</reason>
        <result>1</result>
        <command>verify_posturl_access</command>
    </metadata>
</result>



   

Parameters

This function does not accept parameters.

Returns

This function returns the results of the WHM API 1  send_test_posturl function.

If the Contact Information section of WHM's Basic WebHost Manager Setup interface (Home >> Server Configuration >> Basic WebHost Manager Setup) contains multiple POST URLs, the function will return an array that contains the results for each URL.