Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Conversation

@stonewoodman
Copy link
Contributor

I'm having a problem with iOS if data is null.
await Http.request({ 'POST', 'https://...', headers: { 'Content-Type': 'application/json', Accept: 'application/json' }, data: null });
This throws an error. If result is JSON-null, then is thrown an error too.
This PR fixes both bugs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant