Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 522 Bytes

File metadata and controls

27 lines (21 loc) · 522 Bytes
nav-title fetch How-To
title fetch
environment nativescript
description Examples for using fetch
previous_url /ApiReference/fetch/HOW-TO

Get Response from URL

{%snippet fetch-response%}

Get string from URL

{%snippet fetch-string%}

Get JSON from URL

{%snippet fetch-json%}

Get FormData from URL

{%snippet fetch-formdata%}

Get Response status

{%snippet fetch-status-response%}

Get response headers

{%snippet fetch-headers-response%}

Post JSON

{%snippet fetch-post-json%}