How to handle Twilio postbacks in Cloud9 IDE dev server?

佐手、 提交于 2019-12-12 21:07:13

问题


I'm building a Rails app in Cloud9 IDE, and part of the application involves interactive voice response. The end-user calls the Twilio phone number, and then Twilio POSTs into the Rails app.

The app is working fine when deployed on Heroku, but the deployment process is an extra step. I would like to point Twilio directly at the app running in Cloud9, but it doesn't work. Cloud9 requires one to be logged in to access the dev-server URL, and Twilio can't log in.

Is there a way to tell Cloud9 not to require login to access my dev server? I'd love to just make an edit, click run, call my Twilio number and test. As it is now, I have to git commit and deploy to Heroku on each iteration.

Help! ;)


回答1:


In a private workspace, you can enable your app to be accessible publicly by clicking the 'Share' menu, and making your application public. Doing so will not make your project public, but your running server would become accessible without authentication.



来源:https://stackoverflow.com/questions/29460339/how-to-handle-twilio-postbacks-in-cloud9-ide-dev-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!