Hello
I am trying to access the CPanel UAPI functions via command line on Mac OS and am doing so using the below syntax
(am trying to add an email forwarder)
The response I get for this is as below
But when I check the cPanel, the new forwarder has not been added.
Am I doing something wrong?
Thanks in advance
I am trying to access the CPanel UAPI functions via command line on Mac OS and am doing so using the below syntax
(am trying to add an email forwarder)
Code:
curl --user username:password -k https://160.1.254.120:2083/execute/Email/add_forwarder?email=temp_forward&domain=mydomain.com&fwdopt=pipe&pipefwd=php/piper.php&
Code:
{"messages":null,"errors":null,"status":1,"metadata":{"transformed":1},"data":[]}
Am I doing something wrong?
Thanks in advance