I might be missing something but in all but your GET requests, you don't send back any response. There is still useful information in the response for PUT and POST requests that at the very least would eliminate having to run a second API call to get the information and confirm what you sent.
Also always returning a response at least let's you write error handling if the PUT/POST fails or returns something you don't expect.
I might be missing something but in all but your GET requests, you don't send back any response. There is still useful information in the response for PUT and POST requests that at the very least would eliminate having to run a second API call to get the information and confirm what you sent.
Also always returning a response at least let's you write error handling if the PUT/POST fails or returns something you don't expect.