4 ms·
201 is "request has been fulfilled, resource has been created". It is explicitly not "we will get to it when we can". You are thinking of 202, "request has been
by peterwwillis 9y ago
201 is "request has been fulfilled, resource has been created". It is explicitly not "we will get to it when we can". You are thinking of 202, "request has been accepted for processing", for asynchronous request processing.
- toomuchtodo 9y agoI assure you, 201 is used all the time to say something has been done when it's only been queued, regardless of what the RFC says. This is based on real world integration experience. Http response status codes rarely align with RFC guidelines.
- peterwwillis 9y agoA lot of people back up to tape and never test the tapes, too. Doesn't mean bad practice should be expected.
- toomuchtodo 9y agoDisagree. Plan defensively.