Calling
https://manage2.cpanel.net/XMLaddPickupPass.cgi?pickup=hello+world in a web browser will produce XML output similar to the following:
<XMLaddPickupPass
reason="Successfully added pickup phrase 'hello world!' for joe@example.com"
status="1" />
Calling the function using the URL above will return XML data by default. To change the output format that will be returned, use either of the following URLs:
- JSON —
http://manage2.cpanel.net/XMLaddPickupPass.cgi?output=json&pickup=hello+world
- YAML —
http://manage2.cpanel.net/XMLaddPickupPass.cgi?output=yaml&pickup=hello+world
For more information about each of these output types, visit our
Choosing an Output Type documentation.