Bootstrap FreeKB - Docker - get auth_token using REST API
Docker - get auth_token using REST API

Updated:   |  Docker articles

The following curl command can be used to get auth_token.

curl -sk -d '{"username":"your_username","password":"your_password"}' https://hostname:port/auth/login

 

Here is an example of the key:value pair that this command should return.

{"auth_token":"783c8097-5ece-4c49-9d76-1ade71672247"}

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 76b1a7 in the box below so that we can be sure you are a human.