HTTPRequest.exec

Send request with parameters. If used for POST or PUT requests then application/x-www-form-urlencoded used. Request parameters will be encoded into request string or placed in request body for POST/PUT requests.

Parameters

url string

url

params QueryParam[]

request parameters

Return Value

Response

Examples

rs = Request().exec!"GET"("http://httpbin.org/get", ["c":"d", "a":"b"]);

Meta