Files
NativeScript/tests/app/http.md
2016-06-20 14:32:12 +03:00

893 B

nav-title, title, environment, description, previous_url
nav-title title environment description previous_url
http How-To http nativescript Examples for using http /ApiReference/http/HOW-TO

Http module

Using http methods requires to load "http" module.

Get string from URL

Get JSON from URL

Get Image from URL

Get File from URL. By default the file will be saved in Documents folder.

Get content as File from URL. You can specify where the file should be saved.

Get response status code

Get response headers

Get response content

Post JSON