Answer the question
In order to leave comments, you need to log in
SMS notification to the client after filling out the form on the site?
Good afternoon. There is a landing page html/css/javascript(jquery). It implements a calculator where the client fills in the fields, selects points through, etc. After filling in the fields, the client indicates the phone number and presses the send button.
How to make it so that after pressing the button send to the client, the result of the calculation of the calculator + a small text, for example: "We have made the calculation, the amount of your discount will be 1200 rubles" will be sent to the number indicated by him. 1200 is the value that will be calculated in the calculator.
Answer the question
In order to leave comments, you need to log in
to use the api of the sms mailing services
, in general, it all comes down to sending a request to the api of the service, with it it is transmitted what to send, to whom to send, and some kind of token. Sending from js is not a good idea, since your token can be stolen corny. So usually js sends to the server, let's say php sends a request to api via curl. Some services provide php sdk and then you generally solve everything in two lines. So the first thing to do is select a service and read its documentation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question