Skip to content

Commit 71f6007

Browse files
committed
update readme
1 parent 227ebf5 commit 71f6007

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ $ iex -S mix phx.server
2121
# retrieve welcome
2222
curl -X GET 'http://localhost:4000/api'
2323

24+
# -----------------------------------------------------------------------------
25+
2426
# create user
2527
curl -X POST 'http://localhost:4000/api/users' \
2628
-H 'Content-Type: application/json' \
@@ -65,6 +67,8 @@ curl -X PUT 'http://localhost:4000/api/users/:id' \
6567
curl -X DELETE 'http://localhost:4000/api/users/:id' \
6668
-H 'Authorization: :token'
6769

70+
# -----------------------------------------------------------------------------
71+
6872
# create account (
6973
# :token - authorization token
7074
# )
@@ -76,6 +80,8 @@ curl -X POST 'http://localhost:4000/api/accounts' \
7680
"balance": 100000
7781
}'
7882

83+
# -----------------------------------------------------------------------------
84+
7985
# create transaction between accounts (
8086
# :token - authorization token
8187
# )

0 commit comments

Comments
 (0)