mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-02 19:07:46 +00:00
Update README.md
This commit is contained in:
@@ -24,8 +24,10 @@ docker pull securitybunker/databunker
|
||||
docker run -p 3000:3000 -d --rm --name dbunker securitybunker/databunker demo
|
||||
|
||||
# Create user records
|
||||
curl -s http://localhost:3000/v1/user -X POST -H "X-Bunker-Token: DEMO" -H "Content-Type: application/json" \
|
||||
-d '{"first":"John","last":"Doe","login":"john","email":"user@gmail.com"}'
|
||||
curl -s http://localhost:3000/v1/user -X POST \
|
||||
-H "X-Bunker-Token: DEMO" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"first":"John","last":"Doe","login":"john","email":"user@gmail.com"}'
|
||||
|
||||
# Get user by login, email, phone, or token
|
||||
curl -s -H "X-Bunker-Token: DEMO" -X GET http://localhost:3000/v1/user/login/john
|
||||
|
||||
Reference in New Issue
Block a user