Creates HTTP request
public static httpRequest ( string $url, string $method, boolean $return_only_status = false, mixed $content = null, string $header = "" ) : mixed | ||
$url | string | Url to send the request |
$method | string | HTTP request method (GET, POST, PUT, DELETE, etc) |
$return_only_status | boolean | If set to true, the method would only return response status |
$content | mixed | Content to be sent with HTTP request |
$header | string | Header to be set for the HTTP request |
return | mixed |