Send POST request to a URL
public static post ( string $url, array $headers = [], mixed $body = null, string $username = null, string $password = null ) : unirest\Response | ||
$url | string | URL to send the POST request to |
$headers | array | additional headers to send |
$body | mixed | POST body data |
$username | string | Basic Authentication username (deprecated) |
$password | string | Basic Authentication password (deprecated) |
리턴 | unirest\Response | response |