1 min readMay 25, 2019
Should also address passing tokens and dealing with CORS; this is an example CORS call…
curl -H Origin: http://localhost -H “Access-Control-Request-Headers: Origin,X-Requested-With” -H “Content-Type: application/json” — request POST -d ‘{“username”:”your_login”,”password”:”your_password”}’ http://localhost:8080/api/login