Skip to content

API responses only give 200 success #1113

Discussion options

You must be logged in to vote

Looking back at my own code, I no longer understand why I chose to use goroutines and immediately return a 200 OK response.
I think the idea was to have the response reflect that the request was received, rather than whether the device action actually succeeded.

But your explanation makes more sense, and I've made the changes accordingly. 20e274d

Will create a new beta shortly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@seriousm4x
Comment options

Answer selected by seriousm4x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants