Pular para o conteúdo principal

Argumentos

DataModel
obrigatório
Method-call self value. Use game:HttpGet(url, noCache) or game:HttpGetAsync(url, noCache).
string
obrigatório
URL string to request.
boolean | number
Optional cache bypass. true or numeric 1 skips an existing cached response and performs a new request.

Retornos

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

Exemplo

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