Skip to main content

Argumente

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

Rückgaben

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

Beispiel

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