Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure every API call has a response #14

Open
CapnRedB opened this issue Oct 3, 2021 · 0 comments
Open

Ensure every API call has a response #14

CapnRedB opened this issue Oct 3, 2021 · 0 comments

Comments

@CapnRedB
Copy link

CapnRedB commented Oct 3, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant