Open j-bernard opened 5 years ago
j-bernard notifications@github.com wrote:
It would be useful to get the created object after a POST request:
- POST /users => need to get back id and certs
As opposed to getting back Location: and a 201? That's the normal RESTful way to make stuff.
> * POST /devices => need to get back wpa_key and name
You can add a body and still return a 201, it is valid rest. It would avoid making a new call to get the object right after creating it. But can do without it so it's up to you. Definitively, not a high priority.
It would be useful to get the created object after a POST request: