Ns HTTP Gotchas

Use when Http.getJSON/getString from @nativescript/core resolve happily on a 404/500, reject with a JSON parse error that masks an HTTP error, or when picking between Http.request and fetch — the convenience helpers never check statusCode, error pages become "data", and content conversion is where the rejection actually comes from.

nativescript Updated 1 repo stars

File contents

nativescript/skills commit 3254a4b70a

Frequently asked questions

npx get-skill add nativescript/ns-http-gotchas