Exposing JSON API

Open
Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management July 12, 2018
Login to reply
ray clark
2 years ago
Resolved.
ray clark
2 years ago

sorry i was expecting /api to give me some sort of feedback just by loading the url,   i now see that appending one of the commands api/stats . give me feedback of unauthorised, so all appears to be working,  Thank you.  Nice script btw!

ray clark
2 years ago

Hey man, got everything installed and up and running, 


Struggling to access the JSON API though,    mydomain.com/api   gives me the default 404 page,


Any suggestions?



i did add EXPOSE_API=true to .env file.