15 lines
259 B
HTTP
15 lines
259 B
HTTP
# @name create
|
|
|
|
POST {{host}}/products
|
|
Authorization: Bearer {{token}}
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"Name": "Mike 1001",
|
|
"Category": "Person",
|
|
"SubCategory": "Male"
|
|
}
|
|
|
|
### get based on location header
|
|
|
|
GET {{create.response.headers.Location}} |