URL APIs
APIs for reading content from URLs
Read URL
Section titled “Read URL”Modes BrowserWindowsJavaAndroidiOSSAP
Sends a GET request to the URL and returns response body as a string.
Parameters
| Name | Type | Description |
|---|---|---|
$url | string | URL to read content from |
Returns
string | Response body |
Raw script
var $contents = _readURL("http://sahi.co.in/demo/index.htm"); // returns contents of the pageSahi Pro Classic API _readURL

