Closed medlenmage closed 3 years ago
Description of PR that completes issue here...
If this PR contains code that defines a new request/response, or changes an existing one, please put the JSON representations here.
Request
POST /products Creates a new product
/products
{ "title": "Kite", "product_type_id": 1, "description": "Red. It flies high.", "quantity": 5 }
Response
HTTP/1.1 201 OK
{ "id": 54, "title": "Kite", "product_type_id": 1, "description": "Red. It flies high.", "quantity": 5 }
Description of how to test code...
Description of PR that completes issue here...
Changes
Requests / Responses
If this PR contains code that defines a new request/response, or changes an existing one, please put the JSON representations here.
Request
POST
/products
Creates a new productResponse
HTTP/1.1 201 OK
Testing
Description of how to test code...
Related Issues