Kindly help me out that, how to write the complete coding for bulk sms api in asp.net using post method.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Posted Dec 2, 2017, 10:22 PM EST
Dhandapani TR151 reputationPosted Dec 2, 2017, 11:55 PM EST
var request = new RestRequest(Method.POST);
request.AddHeader("accept", "application/xml");
request.AddHeader("content-type", "application/xml");
request.AddHeader("authorization", "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==");
request.AddParameter("application/json", "{\"from\":\"InfoSMS\", \"to\":\"41793026727\",\"text\":\"Test SMS.\"}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Posted Dec 3, 2017, 8:02 AM EST
Dhandapani TR151 reputationPosted Dec 5, 2017, 7:32 AM EST
Dhandapani TR151 reputationPosted Dec 5, 2018, 4:39 PM EST