What is the best way to test sendgrid parse API on a dev machine?
-
27-10-2019 - |
سؤال
I am developing a small web app that should receive emails from users, using sendgrid addon on Heroku. What is the best way to test this on a local dev machine? I was thinking about using localtunnel and set up a temporary url for that, but is there any other way I could do that? Also, how could it be tested with rspec or cucumber?
Thank you in advance for your help :)
المحلول
The SendGrid Parse API needs to have a live URL, so using localtunnel should work, or other services like dyndns, since the Parse API just needs to contact your web app to do a POST operation. Check out the SendGrid docs for how to set it up and work with it.
لا تنتمي إلى StackOverflow