Skip to content

http.raw Deprecated ​

INFO

Replaced by web.get

This function downloads a resource and stores it into a String.

js
http.raw(url, method, data)

Parameters ​

  • url - the URL of the resource to download.
  • method - the method of the request GET or POST.
  • data - the post data to send to the server.

Example ​

js
let html = http.raw("https://example.com", "GET", "");