Constructor
http(url, inputopt, methodopt) → {string}
- Description:
Performs a HTTP request and returns response.
- This function is accessible via the
aidesys::
prefix. - It is not available in the cygwin environment.
- This function is accessible via the
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
url |
string | The HTTP URL. |
||
input |
string |
<optional> |
""
|
The URL query or content:
|
method |
string |
<optional> |
"GET"
|
Either |
Returns:
The response value, or en error message if any.
- Type
- string