Hi, sorry for my English…
My PhpList Version 3.6.2
My server is Apache
On my .htaccess File from my server, I have RewriteEngine On
I installed PhpList on one sub-domain
I to tried to installed API and integrations as here to say, when write on Browser https://www.mywebsite.com/lists/api/v2/sessions to come,
When test the API with Curl as the exampale to say,
curl --request POST --url https://www.my_website.com/lists/api/v2/sessions --header 'Content-Type: application/json'--data '{"login_name": "admin","password": "my_password"}
to come,
The File public_html/lists/base/vendor/phplist/core/config/config_prod.yml to show,
Now to change the file as here to say … Cache empty…
and how to see on mine file,
and when write on my Browser https://www.my_website.com/lists/api/v2/sessions to come,
In Terminal with Curl to come same as before…and I to Understand, In can login it…that problem is login in Browser…mybe that problem as here to say,
Non-superuser administrators cannot authenticate via the REST API.
Now when login as root on Browser a write
https://www.my_website.com/lists/admin/?page=logout&err=1
that question is, how login as administrator on REST API, because https://my-website.com/lists/api/v2/sessions not working…