-
Notifications
You must be signed in to change notification settings - Fork 0
リクエスト認証とサンプル
sho edited this page Jan 15, 2019
·
2 revisions
endpoint: base_url/api/v1/auth/sign_in
POST
body:
{
"email": "[email protected]",
"password": "3lkh4jg0dfkj345hl23"
}
- access-token
- client
- uid
endpoint: base_url/api/v1/purchase/reserve
POST
body:
[
{
"product_id": 1,
"quantity":2
},
{
"product_id": 2,
"quantity": 1
}
]
endpoint: base_url/api/v1/purchase
POST
body:
{
"purchase_id": 1,
"idm": "456def"
}