keriting
Just read this vmro: https://curl.se/
Grumpy Goldfinch
Just read this vmro: https://curl.se/
{
"data": [],
"context": {
"code": 200,
"source": "T",
"state": 736114,
"market_price_usd": 28430,
"cache": {
"live": true,
"duration": 120,
"since": "2022-05-12 22:18:54",
"until": "2022-05-12 22:20:54",
"time": null
},
"api": {
"version": "2.0.95-ie",
"last_major_update": "2021-07-19 00:00:00",
"next_major_update": null,
"documentation": "https://blockchair.com/api/docs",
"notice": ":)"
},
"servers": "API4,BTC4",
"time": 0.007560014724731445,
"render_time": 0.002758026123046875,
"full_time": 0.01031804084777832,
"request_cost": 1
}
}
PUT /filebeat-rollover/_settings
{
"settings": {
"index.blocks.write": true
}
}
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://v1.basketball.api-sports.io/{endpoint}',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-rapidapi-key: XxXxXxXxXxXxXxXxXxXxXxXx',
'x-rapidapi-host: v1.basketball.api-sports.io'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
openssl s_client -connect www.example.com:443 </dev/null 2>/dev/null | openssl x509 -inform pem -text