I get error "Body is empty".
Is this a ICS error message?! I can't find such message in the ICS code.
AnsiString asPost;
asPost = PostMemo->Text;
SslHttpCli1->SendStream->WriteBuffer(&asPost, asPost.Length());
What kind of stream have you assigned to the SendStream property?
Don't forget
Witam,
And after putting the content to the send steam did you call the PutAsync
() method of the component?
Pozdrawiam
Jarek Karciarz
--
Od: Xavier Mor-Mur
Data: 10 sierpnia 2017 21:20:58
Do: ICS support mailing
Temat: [twsocket] Body not send on https post
Hello,
I still havin
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
Data: 10 sierpnia 2017 21:20:58
Do: ICS support mailing
Temat: [twsocket] Body not send on https post
Hello,
I still havin
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
> In the ICS Socket components's OnSessionConnected /
> OnClientConnect events you are passing Error parameter. When will
> this get a value ?If the OnConnected events are triggered does it
> mean connection is active or is it only if Error=0 ?
OnSessionConnected or OnClientConnect should alway