3 ms·
What you described: let x = 2 // runs x = 3; // runs x = 3; // runtime error, you made a mistake No, I'd want a balance update to succeed. Even i
by jholman 6y ago
What you described:
let x = 2 // runs
x = 3; // runs
x = 3; // runtime error, you made a mistake
No, I'd want a balance update to succeed. Even if it's to the same value that it already had.
- wccrawford 6y agoOr at least return a "no change" message, and not a failure result in the 400s or 500s.
- fastball 6y agoI don't think it's clear from the OC that even if they weren't using the wrong HTTP response they would want an update to succeed if it is the same value, at which point 409 could be a reasonable response code.