Skip to content

Commit bf190ac

Browse files
committed
feat: add demo http for demostrate api
1 parent 693e784 commit bf190ac

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

demo.http

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Create an order in producer which creates a message to kafka
2+
# and then consumer creates a record in database.
3+
POST http://127.0.0.1:1378/orders/
4+
content-type: application/json
5+
6+
{
7+
"channel": 0,
8+
"description": "hello world of cryptocurrency",
9+
"dst_currency": 0,
10+
"src_currency": 0
11+
}
12+
13+
###

0 commit comments

Comments
 (0)