Get size of queue in twilio from rest call in php without using library
Get size of queue in twilio from rest call in php without using library curl
curl
If you are just trying to retrieve the size of a queue, you want to make a GET request, not a POST. It looks like you are setting CURLOPT_POST in your curl request.