Skip to main content

Arguments

DataModel
requis
Method-call self value. Use game:HttpGet(url, cache) or game:HttpGetAsync(url, cache).
string
requis
URL string to request.
boolean | number
Optional cache control. true or numeric 1 enables the URL cache.

Retours

string
Downloaded response body string, cached body string, or an empty string when the request cannot be opened.

Exemple

Run a DataModel-style GET request and return the response body string.