curl -X POST 'https://frogapi.wigal.com.gh/api/v3/sms/send'
                         "API-KEY: your_api_key_here"
                         "USERNAME: your_username_here"
                         '{request_body_here}'
                     
                    
                    
                        const apiKey = 'your_api_key_here'; 
const username = 'your_username_here'; 
const postData = {
    "senderid": "OGK123",
    "destinations": [{
        "destination": "0542709440",
        "message": "Hello Joe your order is ready",
        "msgid": "MGS1010101",
        "smstype": "text"
    }]
};
fetch('https://frogapi.wigal.com.gh/api/v3/sms/send', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'API-KEY': apiKey,
        'USERNAME': username
    },
    body: JSON.stringify(postData)
})
.then(response => response.json())
.then(data => {
    console.log(data);
})
.catch(error => {
    console.error('Error:', error);
});
                     
                    
                    
                        import requests
import json
api_key = 'your_api_key_here' 
username = 'your_username_here' 
post_data = {
    'senderid': 'OGK123',
    'destinations': [{
        'destination': '0542709440',
        'message': 'Hello Joe your order is ready',
        'msgid': 'MGS1010101',
        'smstype': 'text'
    }]
}
headers = {
    'Content-Type': 'application/json',
    'API-KEY': api_key,
    'USERNAME': username
}
response = requests.post('https://frogapi.wigal.com.gh/api/v3/sms/send', headers=headers, data=json.dumps(post_data))
print(response.json())
                     
                    
                    
                        
$apiKey = 'your_api_key_here'; 
$username = 'your_username_here'; 
$postData = array(
    'senderid' => 'OGK123',
    'destinations' => array(
        array(
            'destination' => '0542709440',
            'message' => 'Hello Joe your order is ready',
            'msgid' => 'MGS1010101',
            'smstype' => 'text'
        )
    )
);
$ch = curl_init('https://frogapi.wigal.com.gh/api/v3/sms/send');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Content-Type: application/json',
    'API-KEY: ' . $apiKey,
    'USERNAME: ' . $username
));
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($postData));
$response = curl_exec($ch);
if(curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
} else {
    echo $response;
}
curl_close($ch);
?>