...
- accept: sets the Accept-Header
- user: sets the username used for basic authentication
- password: sets the password used for basic authentication
- type: HTTP Request Method (get, post, patch, put, delete, head)
- raw: boolean. If enabled the received data will be saved in a tempfile. callresult.data will have a reference to the tempfile. Also callresult.filename will be set from the Content-Disposition Header if available.
All other options will be used as header key/value pairs
Returns callresult
The returned data as callresult.
...