To send http request
| package |
jelix |
|---|---|
| subpackage |
utils |
| see |
debug( $msg, $object = false)
delete(string $path, array $data = false) : boolean
Executes a DELETE request for the specified path. If $data is specified, appends it to a query string as part of the get request. $data can be an array of key value pairs, in which case a matching query string will be constructed. Returns true on success.
stringRequest path
arrayRequest parameters
boolean
put(string $path, array $data, array $charset = null, $contentType = null) : boolean
Executes a PUT request for the specified path.
stringRequest path
arrayRequest parameters
arrayRequest charset
boolean
user_agent :