Posts by Jorge Filho • 9 points
1 post
-
0
votes2
answers331
viewsA: What should I return in an Httppost and Httpput in an API?
It will depend more on what you are needing in your context, but usually to POST a good practice is to return a 201 (Created) with the link to the object. Already PUT you can return a 204 (In the…