当我尝试使用Twilio REST API发出呼叫时出现以下错误。
https://www.twilio.com/docs/api/rest
HTTP/1.1 401 Unauthorized
Server: nginx
Date: Thu, 10 May 2012 16:50:48 GMT
Content-Type: application/xml
Connection: close
WWW-Authenticate: Basic realm="Twilio API"
Etag:
Last-Modified:
Content-Length: 233
401 Authenticate 20003
http://www.twilio.com/docs/errors/20003
我用谷歌搜索,但一无所获。有人有这个问题吗?
我在 API 调用上发布的是:-
$url = 'https://api.twilio.com/2010-04-01/Accounts/ACdxxxxxxx/Calls';
From => +1415xxxxxx
To => +1646xxxxx
Url => http://173.201.xx.xx/Test/Twilio/twilio_test.php