Sathya Sathya - 10 days ago 7
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

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.