Nice work with the documentation. I just read it and couldn't find anything about adding reverse proxy to a website. Is it possible to manipulate reverse proxy with the aapanel api?
API interface tutorial
aaP_johncharlie1272
please are u have your resolved this problem ?
if yes, please can your tell me how was you doing ?
I have the same problem.
thank you before
Trandx solved. You need to whitelist an IP address
hello, i just want to share aapanel api for PHP, base on api documentation and php-demo from @aaPanel_Jose .
https://github.com/skolastikarhea/api_aapanel
not complete yet, but i will add new command step by step
enjoy
aaPanel_Jose Thanks for Giving me This Golden Information,
But i'm Getting this Error
Warning: fopen(./3fe68fcd5b9460188d2c853eb0ea3aff.cookie): failed to open stream: Permission denied in /www/wwwroot/test/demo.php on line 62
Warning: fclose() expects parameter 1 to be resource, boolean given in /www/wwwroot/test/demo.php on line 63
null
- Edited
aaP_salexkorsan
Hello, please check if the directory of the website is correct? The general directory is that the permissions are 755, and the user is www
The file permissions are generally 644/www
- Edited
aaPanel_Kern yes i'm Fixed that. receiving result Given Below,
But i'm Trying to Get system info like this https://example.com/demo.php?action=GetSystemTotal
Each time i'm Receaving this ??? it's Not working Diffrent Commands
{"where":"","page":"
1<\/span>2<\/a>3<\/a>4<\/a>5<\/a>6<\/a>7<\/a>8<\/a>Next<\/a>Last<\/a>Total26876<\/span><\/div>","data":[{"id":26881,"uid":1,"username":"w3we","type":"File manager","log":"[\/www\/wwwroot\/test\/demo.php] renamed to [\/www\/wwwroot\/test\/index.php]","addtime":"2022-09-07 07:14:39"},{"id":26880,"uid":1,"username":"w3we","type":"File manager","log":"Set [\/www\/wwwroot\/test\/demo.php]'s permission to [755] and authorized user to [root]","addtime":"2022-09-07 07:12:50"},{"id":26879,"uid":1,"username":"w3we","type":"API configuration","log":"Change IP limit to [129.152.96.200]","addtime":"2022-09-07 07:08:46"},{"id":26878,"uid":1,"username":"w3we","type":"API configuration","log":"Open API interface","addtime":"2022-09-07 07:08:37"},{"id":26877,"uid":1,"username":"w3we","type":"API configuration","log":"Close API interface","addtime":"2022-09-07 07:08:34"},{"id":26876,"uid":1,"username":"w3we","type":"File manager","log":"Recycle bin emptied!","addtime":"2022-09-07 07:04:46"},{"id":26875,"uid":1,"username":"w3we","type":"API configuration","log":"Change IP limit to [124.123.188.8\n129.152.96.200]","addtime":"2022-09-07 07:03:58"},{"id":26874,"uid":1,"username":"w3we","type":"API configuration","log":"Open API interface","addtime":"2022-09-07 07:03:54"},{"id":26873,"uid":1,"username":"w3we","type":"API configuration","log":"Close API interface","addtime":"2022-09-07 07:03:53"},{"id":26872,"uid":1,"username":"w3we","type":"File manager","log":"[\/www\/wwwroot\/test\/demo.ph] renamed to [\/www\/wwwroot\/test\/demo.php]","addtime":"2022-09-07 07:03:20"}]}
aaPanel_Kern
Hey There!
I'm having trouble accessing my Node Project through the API. I was able to get access to the panel through the API key, but every time I tried to list the website, "project_type" = 'PHP' always appear in the where clause. Is there any way that I could override this?
Thank you!
aaP_anthonyprabowo
Hello, try to access the panel and press F12 to get the relevant link parameters
aaPanel_Jose i tried the demo response null
Get a list of websites is only show PHP Project, not show Nodejs or Python project
aaP_RHEA Hi, i just put PR to your project, glad to help for little.
my ip has added into the whitelist and token was right,but my request just return 502: Bad Gateway
aaPanel_Jose my ip has added into the whitelist, and my bt_key is right ,but each time response 502 bat gateway
aaPanel_Jose I can use .net call api aapanel, yes?
The SSL connection could not be established, see inner exception. When i call api by domain with https
Help me
Help me allow all IP access API, please
Add your ip to the api, it is risky to open the api
Cannot configure API through API interface,
I want use API for add IP whitelist but it not success, can you help me