Skip to content

Commit

Permalink
🐛 chore api.mds COokie
Browse files Browse the repository at this point in the history
  • Loading branch information
perebaj committed Sep 30, 2023
1 parent 708a25f commit 0cb971b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions api/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Request:
'http://<>:8080/upload' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F '[email protected];type=text/plain'
-H 'Cookie: jwt=<>' \
-F '[email protected];type=text/plain'
```

Response:
Expand All @@ -42,7 +43,8 @@ Request:
```bash
curl -i -X 'GET' \
'http://<>:8080/balance/affiliate?name=<>' \
-H 'accept: application/json'
-H 'accept: application/json' \
-H 'Cookie: jwt=<>'
```

Response:
Expand Down Expand Up @@ -70,7 +72,8 @@ Request:
```bash
curl -i -X 'GET' \
'http://<>:8080/balance/producer?name=<>' \
-H 'accept: application/json'
-H 'accept: application/json' \
-H 'Cookie: jwt=<>'
```

Response:
Expand All @@ -91,7 +94,8 @@ Request:
```bash
curl -i -X 'GET' \
'http://<>:8080/transactions' \
-H 'accept: application/json'
-H 'accept: application/json' \
-H 'Cookie: jwt=<>'
```

Response:
Expand Down

0 comments on commit 0cb971b

Please sign in to comment.