Comment on page
Auth
prestd has support in JWT Token generation based on two fields (example user and password), being possible to use an existing table from your database to login configuring some parameters in the configuration file (or environment variable), by default this feature is disabled.
curl -i -X POST http://127.0.0.1:8000/auth -H "Content-Type: application/json" -d '{"username": "<username>", "password": "<password>"}'
curl -i -X POST http://127.0.0.1:8000/auth --user "<username>:<password>"
Last modified 18d ago