api – Send a post request to a URL on button click


I want to send out app download link via sms when user enters mobile phone number in a field and hit send button. For that I need to capture 10 digit mobile number and send a POST request to the a url with given details below:

URL: abc.com/ddd/

POST parameters

To: <10 digit mobile number>

From: Some Name

TemplateName: Download

VAR1: https://example.com/1/

VAR2: https://example.com/2/

In the post parameter only To field is fetching from text box all other fields are same.

Here is the form I’ve created https://jsfiddle.net/viveknath322/29uv04hb/

Vivek Nath R 1 year 2021-08-02T22:34:55-05:00 0 Answers 0 views 0

Leave an answer