pfeifn duats heast

This commit is contained in:
Jonas Weissengruber 2023-12-20 01:39:34 +01:00
parent 85d7162419
commit 7dbbdef6c2
12 changed files with 57 additions and 34 deletions

View file

@ -1,21 +1,23 @@
### add
POST {{url}}/cart/add
Authorization: Bearer {{token}}
Content-Type: application/json
{
"id": 9999999,
"cartEntries": [
{
"id": 2,
"amount": 20
"id": 3,
"amount": 1
}
]
}
### list
GET {{url}}/user/signin
### list
GET {{url}}/cart/list
Authorization: Bearer {{token}}
### checkout
GET {{url}}/user/update
GET {{url}}/cart/checkout
Authorization: Bearer {{token}}

View file

@ -1,6 +1,6 @@
### create
POST {{url}}/event/create
# Authorization: Bearer {{token}}
Authorization: Bearer {{token}}
Content-Type: application/json
{

View file

@ -1,6 +1,6 @@
{
"dev": {
"url": "http://localhost:8080/api/v1",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZXRpY2tldCB1c2VyIHRva2VuIiwiZXhwIjoxNzAzMTAwNzQyLCJ1c2VySWQiOjIsImlhdCI6MTcwMzAxNDM0Mn0.D9HBxWy1vIP82XOh_ocjLO9HB0lK_rQGjgD3a7KQrOE"
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZXRpY2tldCB1c2VyIHRva2VuIiwidXNlcklkIjoxfQ.vcZslqzkJgh8t7hokvwpVaJ-8c0_BnCeHrsBJOGC6qU"
}
}