Control Web Panel
Developers => CWP API => Topic started by: tiagocaus on July 30, 2019, 02:09:32 AM
-
Where is this path located on the server?
> http://my-ip:2304/v1/
Which way to locate this folder V1?
-
/usr/local/cwpsrv/var/services/api
-
I couldn't find the folder "/account" in V1 folder.
I am trying to get to this file, just to see how it is created, edited .... among other cwp7.php file commands.
I am trying to create a module for my car rental system.
I noticed that the function "cwp7_CreateAccount($params)" creates a URL with all the variables.
https://painel.xxxx.com.br/whmcs/criar.php?
action=add
&usuario=conta6351
&senha=MI5jO%40ymF88y2%23
&chave=7FFD85D93A3E4DE5C490D304CCD9F864
Until then I could do
Now I'm trying to figure out how to return curl_exec SUCCESS or ERROR
Can you help me with this?
-
these folders are managed by rewrite rules so they don't exist for real.