Rest API - API Documentation
You see this endpoint documentation snippet:
{
"endpoint": "/items",
"method": "POST",
"parameters": {
"name": "string",
"quantity": "integer"
},
"response": {
"201": "Item created"
}
}
But the API returns a 400 error when you send the request. What is the most likely mistake in the documentation?