Re: Meta-Data documentation

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
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
-------------------------------------------------------------------
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.