-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61e5b5a
commit f235bed
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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":"[email protected]"}' | ||
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":"[email protected]"}' | ||
|
||
# Get user by login, email, phone, or token | ||
curl -s -H "X-Bunker-Token: DEMO" -X GET http://localhost:3000/v1/user/login/john | ||
|