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

fix(ios): null in body or result #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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