Re: Meta-Data documentation
Ehizogie Binitie <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Rancard Solutions Ltd |
| Message-ID | <1222071764.6957.19.camel@ehizogie-laptop> |
Can we update the 1.4.1 documentation to reflect this ?
On Sun, 2008-09-21 at 10:10 -0400, Stipe Tolj wrote:
> Alexander Malysh schrieb:
> > Hi,
> >
> > great thanks!
> >
> > Could you please better describe meta-data format because it unclear how
> > to code it, here is the format accepted by meta-data patch:
> >
> > meta-data = ?URLENCODE(group-name)?URLENCODE(key1)=URLENCODE(value1)...
> >
> > then if you send it e.g. for MT:
> >
> > .../sendsms?meta-data=URLENCODE(meta-data)
>
> great wok Alejandro.
>
> Agree'ing with Alex here. The encoding format of the HTTP GET 'meta-data' value
> has to be clear from the user's guide, especially the usage of the '?' question
> marks to separate the SMSC protocol module parts of the whole string.
>
> In fact I would generalize like this:
>
> data = ?<smsc-type1>?key1=value1&key2=value2&...?<smsc-type2>?key1=value1&...
> meta-data = urlencode( data )
>
> 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
> -------------------------------------------------------------------
>