If you poke around in Mbuni libs, there is code for doing HTTP POST (enctype = www-url-encoded and multipart/form-data) handling nicely, so you could use that too instead of XML. XML adds the over-head of the other side having to parse that rather than merely have to handle URL parameters. Just a thought...

P.

On Oct 02, 2006, at 13:47, Stipe Tolj wrote:

Hi Ehi ;)

Ehizogie Binitie wrote:

Thanks Stipe,
This was really needed. I was wondering if you had thought of supporting HTTP "POST" and supporting XML based gateways in 'generic'. This could be done by Adding an extra parameter to the group called url-template which would point to a config file and read the XML template escaped with similar parameters
in the 'get-url'.
What do you think ..?

yep, sounds reasonable...

This would be then read in at smsc create time and populated with the same escape codes. Then HTTP POST'ed to send-url. Sounds handy.

How about response parsing?... We could still use regex for it I guess.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------



Reply via email to