Send a cURL request
public static send ( Unirest\Method | string $method, string $url, mixed $body = null, array $headers = [], string $username = null, string $password = null ) : unirest\Response | ||
$method | Unirest\Method | string | HTTP method to use |
$url | string | URL to send the request to |
$body | mixed | request body |
$headers | array | additional headers to send |
$username | string | Authentication username (deprecated) |
$password | string | Authentication password (deprecated) |
리턴 | unirest\Response |