mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
how-tos made with markdown snippet injector
This commit is contained in:
25
apps/tests/fetch.md
Normal file
25
apps/tests/fetch.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
nav-title: "fetch How-To"
|
||||
title: "How-To"
|
||||
description: "Examples for using fetch"
|
||||
---
|
||||
### Get Response from URL
|
||||
<snippet id='fetch-response'/>
|
||||
|
||||
### Get string from URL
|
||||
<snippet id='fetch-string'/>
|
||||
|
||||
### Get JSON from URL
|
||||
<snippet id='fetch-json'/>
|
||||
|
||||
### Get FormData from URL
|
||||
<snippet id='fetch-formdata'/>
|
||||
|
||||
### Get Response status
|
||||
<snippet id='fetch-status-response'/>
|
||||
|
||||
### Get response headers
|
||||
<snippet id='fetch-headers-response'/>
|
||||
|
||||
### Post JSON
|
||||
<snippet id='fetch-post-json'/>
|
||||
Reference in New Issue
Block a user