Requests_Transport_cURL::setup_handle( string $url, array $headers, string|array $data, array $options )

In this article

Setup the cURL handle for the given data


URL to request
Associative array of request headers
Data to send either as the POST body, or as parameters in the URL for a GET/HEAD
Request options, see Requests::response() for documentation


User Contributed Notes

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