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:
To: <10 digit mobile number>
From: Some Name
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/