如何在没有链接的情况下向API发送一些参数?

I will try to explain what I need. I am using API of some website that sends message to phone number. When user writes his phone number into the form of my website, the data is sent to another website. I want the data to be sent without opening new window or link. Is it possible? Let the link be "example.com?number=123456789".

Have you tried using AJAX technology?

AJAX is a developers dream, because you can: Update a web page without reloading the page Request data from a server - after the page has loaded Receive data from a server - after the page has loaded Send data to a server - in the background

http://www.w3schools.com/ajax/