nginx version 1.16.1
1) added a parameter that allows access to the REST in the config /config/config_inc.php :
2) I generated a token under the admin in BT
Code: Select all
$g_webservice_rest_enabled = ON;
3) I added several APIs In Postman. One of them is getting a list of all projects.
4) I added a token to the APIs headers, and added my host to the URL
5) I send a request, get the code 200, but this is not json, this is the html of the login page..
What's wrong? Why does not it work?