curl --location --request GET 'http://localhost:5001/appgregator/us-central1/docial/wallet/statistic?name=qantor.co.id&connection_name=docial-1&address=0x9cbaf4222248dbbb07db3fa8514524936a534b35' \
--header 'x-api-key: 43c464439b5507293ba7b315c9875907'
var axios = require('axios');
var config = {
method: 'get',
url: 'http://localhost:5001/appgregator/us-central1/docial/wallet/statistic?name=qantor.co.id&connection_name=docial-1&address=0x9cbaf4222248dbbb07db3fa8514524936a534b35',
headers: {
'x-api-key': '43c464439b5507293ba7b315c9875907'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://localhost:5001/appgregator/us-central1/docial/wallet/statistic?name=qantor.co.id&connection_name=docial-1&address=0x9cbaf4222248dbbb07db3fa8514524936a534b35',
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-api-key: 43c464439b5507293ba7b315c9875907'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;