Object function reference

get

A reference entry for get

Object function · HTTP

get([string url[, map parameters]|map parameters]) ⇒ HTTPResponse

Sends an HTTP GET request. With no arguments, the HTTP object's base URL is used. A string overrides the URL, a map appends query parameters, and both a URL and map can be supplied together.

YASS
$response = $http->get("/get", ["name" => "Jamie"])