Yes, it can do a Post method. See table 6-10 in the userguide:

 

Example:

 

SMSPush equivalent X-Kannel Header

username    X-Kannel-Username

password    X-Kannel-Password

from        X-Kannel-From

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Pratik Shrestha
Sent: Friday, 10 September, 2010 09:42
To: [email protected]
Subject: post-method support

 

Dear All,

I have a java application that post message to kannel gateway. When I use
'Get' method to send the message to kannel http (i.e.
http://localhost:13131/cgi-bin/sendsms?username=**
<http://localhost:13131/cgi-bin/sendsms?username=**&password=**&to=**&text=*
*> &password=**&to=**&text=**), it works well. But if I use 'Post' method to
do the same job, I get HTTP error 400. What is the reason behind this? Is
that kannel does not support post method?

Regards,
Pratik 

Reply via email to