Send Ajax POST message


I try to send POST to a sms-server and the example they have for html look like this:
Is it possible to use Ajax post, and if, how shall i do?

Please Micke

<Form method="POST" action="https://<API Username>:<API Password>">
input name="from" value="WebElk" />
input name="to" value="+46723175800" />
input name="message" value="Hi! This is a message from me! Have a nice day!" />

There’s an Ajax example. Adapt that one.

Also, see this: