Hi, I hope you are well.
I am writing to you because I have a problem, I am creating a system to create new subdomains and I need to connect to the cpanel for everything related to the subdomain and database.
My first question is that the API 2 option does not appear in the "API SHELL" option, I would like to know how I can "Update" this option and understand how to configure it, since I did the following and this is the results, which They make me understand that I can connect.
Result from WHM:
"{"data":{"cp_security_token":"/cpsessXXXXXXXXXX","session":"xxxxx:pKL3oHouL97wS4Nx:create_user_session,XXXXXXXXXXXXXXXXXXXXXX","url":"https://xxxxxxx.coml:2083/cpsess5XX...ate_user_session%XXXXXXXXXXXXXXXXXXXXXXXXXXee","service":"cpaneld","expires":1570217444},"metadata":{"reason":"Created session","version":1,"command":"create_user_session","result":1}}"
Now, from my application, the following error comes out and I can't find a way to access it.
Thank you
I am writing to you because I have a problem, I am creating a system to create new subdomains and I need to connect to the cpanel for everything related to the subdomain and database.
My first question is that the API 2 option does not appear in the "API SHELL" option, I would like to know how I can "Update" this option and understand how to configure it, since I did the following and this is the results, which They make me understand that I can connect.
Result from WHM:
"{"data":{"cp_security_token":"/cpsessXXXXXXXXXX","session":"xxxxx:pKL3oHouL97wS4Nx:create_user_session,XXXXXXXXXXXXXXXXXXXXXX","url":"https://xxxxxxx.coml:2083/cpsess5XX...ate_user_session%XXXXXXXXXXXXXXXXXXXXXXXXXXee","service":"cpaneld","expires":1570217444},"metadata":{"reason":"Created session","version":1,"command":"create_user_session","result":1}}"
Now, from my application, the following error comes out and I can't find a way to access it.
Thank you
Attachments
-
109.6 KB Views: 6
-
41 KB Views: 5
-
13.2 KB Views: 6