Send Sms With My Own Api

i have my own api to send msg but i do not know how to integrate it on my controller.

i have this api…


http://192.***.*.**:******/cgi-bin/sendsms?username=*****&password=*****&to=09158659561&text=test

You can check Clickatell SMS extension or Skebby SMS extension, they use similar api to post messages.