I have this curl code:
curl -X GET https://lookups.twilio.com/v1/PhoneNumbers/(919) 410-7522\
-d "Type=carrier"
-u "{AccountSid}:{AuthToken}"
I try to convert in PHP cURL but I stack on how to send AccountSid
and AuthToken
.
I need this code only to check if number is valid and mobile or landline.
How to do that? Thanks!