|
|
|
|
|
by oxtopus
4769 days ago
|
|
Something to consider, the author advocates json responses across the board, which is pretty good advice, however, it's incompatible with `204 No Content` responses (also recommended). If you're building a client that connects to an API that could potentially return a `204 No Content` response, you can't assume that there will be json in the body and automatically parse the response. |
|
To me, it looks like the HTTP equivalent of a C function that returns NULL.