I need to create a php form that can submit data to a API, I wonder if someone could help me?
I have my form page created already, I’m just not sure on the code required to pass the form data to the API.
I am using the SMSGateway API which is documented here: https://smsgateway.me/sms-api-documentation/messages/sending-a-sms-message
My form consists of the following code made in jQuery FormBuilder: https://pastebin.com/YYcVgiXA
Can anyone please advise how I proceed? I do plan to expand this to support multiple recipients in the future but for now it would be helpful to just have a working form we can use for a single recipient
Thanks for any help