Re: SendSMS via POST

Charlie Clark <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On 2003-04-10 at 11:16:41 [+0200], you wrote:
> Hi,
> 
> But all I did was change the METHOD from GET (which worked fine) to POST, 
> which
> does not work fine.
> 
> Also I checked the code for smsbox.c, and I do not see how a POST could 
> work
> like a GET.
> 
> The reason is because the BODY of the post is treated as the 'text' 
> component
> of the request, while the X-Kannel-????? headers are used to authenticate 
> the
> request.
> 
> This is in version 1.3.1 of Kannel, on solaris.
> 
> So if you can get it to work, how is this possible with the 1.3.1 code, 
> unless
> I misunderstood the code logic.
> 
> Thanks for your email
> 
> Cheers
> Jason

oops, I just double-checked my form - it only works 'cos I've got a typo 
"mehtod" instead of "method" so it is a GET (in more ways than one ;-) ) 
setting this to post does lead to the authorisation error.

Charlie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.