Witam,
Diod you try to set asPost.c_str () or ws.c_str () instead of putting just the address of the object?
Pozdrawiam

Jarek Karciarz



----------
Od: Xavier Mor-Mur <xavi.mor...@gmail.com>
Data: 10 sierpnia 2017 21:20:58
Do: ICS support mailing <twsocket@lists.elists.org>
Temat: [twsocket] Body not send on https post

Hello,

I still having problems trying to retrieve data from https server using
POST.

I get error "Body is empty".
I can't find where is the error. I tried use this two ways:

AnsiString asPost;
asPost = PostMemo->Text;
SslHttpCli1->SendStream->WriteBuffer(&asPost, asPost.Length());

WideString ws;
ws = PostMemo->Text;
SslHttpCli1->SendStream->WriteBuffer(&ws, ws.Length());

I would appreciate any tip on it.

Thanks in advance

--
Xavier Mor-Mur


---
El software de antivirus Avast ha analizado este correo electrĂ³nico en busca de virus.
https://www.avast.com/antivirus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to