-
Notifications
You must be signed in to change notification settings - Fork 0
Error, username and password required #1
Copy link
Copy link
Open
Description
I try to use this PHP class, but get error like:
Failed to obtain access token. Status code: 422 {"detail":{"username":"field required","password":"field required"}}Array
But i use it in code:
include "marzban.php";
$access_token_vl="";
$url_vl="https://xxxxx.xxxxx.xxx";
$port_vl="443";
$url_main_vl=$url_vl.':'.$port_vl;
$login_vl="xxxxx";
$pass_vl="xxxxx";$api = new API($url_main_vl,$login_vl,$pass_vl);
echo $api->get_users();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels