using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
var data = new Dictionary
{
{ "secret", "API_SECRET" },
{ "account", "ACCOUNT_CODE" },
{ "recipient", "+905012345678" },
{ "type", "text" },
{ "message", "Hello World!" }
};
var response = await client.PostAsync("https://forcemsg.com/api/send/whatsapp", new FormUrlEncodedContent(data));
Console.WriteLine(await response.Content.ReadAsStringAsync());
}
}