mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Update example without library to display results of request
This commit is contained in:
@@ -48,6 +48,11 @@ $curl_error_code = curl_errno($ch);
|
||||
$curl_error_message = curl_error($ch);
|
||||
$http_status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||
$request_headers = curl_getinfo($ch, CURLINFO_HEADER_OUT);
|
||||
var_dump($http_status_code);
|
||||
var_dump($curl_error_code);
|
||||
var_dump($curl_error_message);
|
||||
var_dump($request_headers);
|
||||
var_dump($raw_response);
|
||||
```
|
||||
|
||||
### Ensure you have the latest version of composer installed
|
||||
|
||||
Reference in New Issue
Block a user