Set the default values
Parameters
$url
stringrequired- URL to request
$headers
arrayrequired- Extra headers to send with the request
$data
array|nullrequired- Data to send either as a query string for GET/HEAD requests, or in the body for POST requests
$type
stringrequired- HTTP request type
$options
arrayrequired- Options for the request
User Contributed Notes
You must log in before being able to contribute a note or feedback.