Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"name": "Product 3,5",
"description": "Cool Product",
"price": 200000,
"stock": 4,
"category_id": 2
}
Request samples
curl --location --request PUT 'https://respond-genres-mazda-student.trycloudflare.com/product/1' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Product 3,5",
"description": "Cool Product",
"price": 200000,
"stock": 4,
"category_id": 2
}'
Responses
application/json Modified at 2025-03-06 11:42:01