Skip to content

Commit 61e5b5a

Browse files
authored
Update README.md
1 parent 5c66ed7 commit 61e5b5a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@
2323
docker pull securitybunker/databunker
2424
docker run -p 3000:3000 -d --rm --name dbunker securitybunker/databunker demo
2525

26-
# Test the service
27-
curl -v http://localhost:3000/status
26+
# Create user records
27+
curl -s http://localhost:3000/v1/user -X POST -H "X-Bunker-Token: DEMO" -H "Content-Type: application/json" \
28+
-d '{"first":"John","last":"Doe","login":"john","email":"[email protected]"}'
29+
30+
# Get user by login, email, phone, or token
31+
curl -s -H "X-Bunker-Token: DEMO" -X GET http://localhost:3000/v1/user/login/john
32+
33+
# Admin UI: http://localhost:3000
2834
```
2935

3036
## 💡 What Problems Does Databunker Solve?

0 commit comments

Comments
 (0)