Re: [twsocket] Body not send on https post

2017-08-10 Thread RTT
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

Re: [twsocket] Body not send on https post

2017-08-10 Thread Jarek Karciarz
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

Re: [twsocket] Body not send on https post

2017-08-10 Thread Jarek Karciarz
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

[twsocket] Body not send on https post

2017-08-10 Thread Xavier Mor-Mur
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

Re: [twsocket] Role of Error in Socket OnConnectedEvents

2017-08-10 Thread Angus Robertson - Magenta Systems Ltd
> 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