twilio callbackurl called with SendMessage method but not with SendSmsMessage method

大兔子大兔子 提交于 2019-12-02 10:29:20

Twilio developer evangelist here. The SMS endpoint is deprecated in the API and doesn't respond the same way as newer resources. The SendSmsMessage method you are calling is using that old endpoint and SendMessage is using the new Messages resource which behaves as you're expecting.

I recommend using SendMessage everywhere that you need message sending.

abh

SendMessage is the newer API call, I went thru this exact issue a few weeks ago, complicated by a few bugs :) -- see this post

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