I am hitting admitAD API using curl command.
If i below URL
curl -L -H 'Authorization: Bearer MY_TOKEN' -X GET https://api.admitad.com/payments/?limit=2&has_statement=0
I am getting response
{
"_meta": {
"count": 21,
"limit": 2,
"offset": 0
},
"results": [{},{}]
}
But if i hit this URL , Notice URL enclosed in double quote
curl -L -H 'Authorization: Bearer MY_TOKEN' -X GET "https://api.admitad.com/payments/?limit=2&has_statement=0"
I am not able to get valid response
{
"_meta": {
"count": 0,
"limit": 2,
"offset": 0
},
"results": []
}
I even tried this in postman , But it is also giving invalid response
Please help