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