Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
authentication API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
francescou committed Jul 24, 2015
1 parent cf12ecb commit 38a473e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ The application uses [Docker Compose](https://docs.docker.com/compose) to monito

curl http://localhost:5000/api/v1/logs/hello-node/100

### authentication status

curl http://localhost:5000/api/v1/authentication

### set password

curl -X POST -u admin http://localhost:5000/api/v1/authentication -H 'Content-type: application/json' --data '{"username":"admin", "password":"password"}'

### disable basic authentication

curl -X DELETE -u admin http://localhost:5000/api/v1/authentication

## License - MIT

Expand Down

0 comments on commit 38a473e

Please sign in to comment.