Open Tealk opened 3 months ago
I think this a mistake in the example:
curl -L = location
curl -X = request
curl -X -L 'POST' -H 'Content-Type: application/x-www-form-urlencoded' --data 'username=admin&password=XXX' http://127.0.0.1:8000/login/access-token/
makes no sense. It must be:
curl -X 'POST' -H 'Content-Type: application/x-www-form-urlencoded' --data 'username=admin&password=XXX' -L http://127.0.0.1:8000/login/access-token/
somehow i can't access the api even though the container is running.
log: