Requests::set_defaults( string $url, array $headers, array|null $data, string $type, array $options ): array

In this article

Set the default values


URL to request
Extra headers to send with the request
Data to send either as a query string for GET/HEAD requests, or in the body for POST requests
HTTP request type
Options for the request


array $options


User Contributed Notes

You must log in before being able to contribute a note or feedback.