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
{{ message }}
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.
When using .sendFile() the result body is not being JSON parsed according to this logic.
For a true server-end JSON API, it's really weird to expect this kind of response or behavior in my opinion that a response from file upload would be in text-form and not JSON form like everything else.
At the very least give us the option of forcing this.
The text was updated successfully, but these errors were encountered:
When using
.sendFile()
the result body is not being JSON parsed according to this logic.For a true server-end JSON API, it's really weird to expect this kind of response or behavior in my opinion that a response from file upload would be in text-form and not JSON form like everything else.
At the very least give us the option of forcing this.
The text was updated successfully, but these errors were encountered: