Sathya Sathya - 1 year ago 181
React JSX Question

How to send phone verification code in reactjs with twilio client?

I'm searching over the internet past 8 hours. I didn't get any tutorial with reactjs. Is their any best tutorial to send sms with twilio in reactjs?

Answer Source

Twilio developer evangelist here.

We do not recommend that you make calls to our REST API from the front end of your website as you would expose your account credentials leaving them open to abuse from a malicious attacker.

What you should do is build an action as part of your server that makes the API requests to send messages, that you then call from your React app via Ajax.

You tagged the question Node.js so here is a link to a guide to sending SMS messages in a Node.js application.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download