You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library focuses on handling the response body (decoding to errors, data, metadata per the JSON:API specification). Since a 204 response has no response body, there's nothing to decode using this library. The specifics of an implementation for this response code would depend on which networking library you were using, but I would suspect that it is generally not too difficult to handle 204 codes explicitly by not trying to do anything with the response body.
I'm happy to help think through this further, though, especially if I am missing part of the question.
Is there any way to handle response with 204 which have empty response (mean no data in response just returning with 204 status code)?
The text was updated successfully, but these errors were encountered: