Love the simplicity of this solution, but I am not able to get it to work. Could something have changed since you published this article? With everything set I am getting a 11200 - HTTP retrieval failure error every time I send an SMS to my twilio number. Any changes needed to your original post? If it still works for you, what would you need to help point me in the right direction? I am not sure if something changed on Twilio or on Sendgrid. I have quadruple checked the code and don't see any differences from yours.
I appreciate any help you can offer in addition to your very helpful original post!
Oh, this might be because the got module doesn't come installed by default any more. Try going to the config section and adding got to the npm module dependency.
That was it! Thanks!
Oh good! I’m out at a conference right now, but I will update this when I get the chance.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.