Aarno,
 
Thank you for clearing that up.
 
I'm now using POST but I'm still getting the same error, this is because I still don't know how to pass the push content. When I make a http POST request how do I pass the push content to wap-push?
 
Do I pass it as text like I would do with an sendsms request? If not, what post parameters do I use to pass the push content?
 
Thanks in advance,
 
Nick
 


From: Aarno Syv�nen [mailto:[EMAIL PROTECTED]
Sent: 19 October 2004 09:11
To: Nick Branson
Cc: Kannel
Subject: Re: WAP PUSH

Hi,

it seems that you are doing http get. You must, instead, do http post.

Aarno

On 18.10.2004, at 17:24, Nick Branson wrote:

Users,
I'm trying to test my Wapbox connection that I have just set up. However when trying to invoke the wap-push service for Kannel I get this in my wapbox debugging.
INFO: PPG: Accept request </cgi-bin/wap-push> from <127.0.0.1>
2004-10-18 15:52:24 [30444] [14] WARNING: PPG: No MIME content received, the request unacceptable
2004-10-18 15:52:24 [30444] [14] DEBUG: PPG: send_bad_message_response: telling pi
2004-10-18 15:52:24 [30444] [14] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2004-10-18 15:52:24 [30444] [10] DEBUG: HTTP: Destroying HTTPClient area 0x908b6a0.
2004-10-18 15:52:24 [30444] [10] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
I'm invoking it using:
http://host:port/wap-push?username=foo&password=bar
So, it's no surprise that I'm getting this error as I can't determine how to set the MIME. Can anyone explain, as I can't find any documentation supporting the use of wap-push anywhere!! What are the GET parameters available for wap-push??

Any help would be greatly appreciated,


Nick

Reply via email to