On Mon, Mar 16, 2009 at 5:10 PM, Beatrice Tamburrino
<[email protected]> wrote:
> hi,
>
> kannel is working fine.
> Now I need to change the request type to POST  (from an own written sendsms 
> script). My application receives the error code (curl) 22 == the request has 
> been rejected from the kannel server..

check what's the http error code.
curl_getinfo(<CURL_HANDLE>, CURLINFO_HTTP_CODE)

If kannel rejects the http post request it could be malformed request.
Can you send us what are you trying to send via the post request.

> I do the same request via url (browser) with a special character in the 
> message (which is the reason why I want to change from GET to POST)

What's that special character that can not be send via get request.
maybe there is a way to url encode that character.

BR, Jovan

Reply via email to