Re: Read GET and POST value in http_smsc.c

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

you use:
HTTPClient *http_accept_request(int port, Octstr **client_ip,
                                 Octstr **url, List **headers, Octstr 
**body,
                                 List **cgivars);

to get request and body is what you are looking for for POST.

Thanks,
Alex

sangprabv schrieb:
> Hi,
> I'm developing a custom HTTP SMS and I see Octstr
> *http_cgi_variable(List *list, char *name); in http.h. Does this
> function usable for GET and POST method for MO message
> (telco_receive_sms()) in smsc_http.c? Or what function I must use to
> grab POST value method in HTTP SMSC. TIA
> 
> 
> Willy
> 
> 
>
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.