下面就如何在ROR应用Twilio
整合instruction后,我作出curl
请求时,有一个问题:Ruby on Rails和Twilio
curl -X POST http://localhost:3000/twilio/voice -d 'foo=bar'
返回我:
<html><body>You are being <a href="http://localhost:3000/users/sign_in">redirected</a>.</body></html>
谢谢!
localhost不在twilio中作为回调工作。请使用端口为3000的ngrok。 –