Re: [twsocket] Body not send on https post

2017-08-15 Thread Xavier Mor-Mur
Hi RTT Your suggestion has worked perfectly. Thank you so much. Xavi El 15/08/2017 a les 2:06, RTT ha escrit: Surely is there something wrong but I can't figure were is. Try specifying the data content type AnsiString asPost; asPost = PostMemo->Text; SslHttpCli1->SendStream = new

Re: [twsocket] Body not send on https post

2017-08-14 Thread RTT
Surely is there something wrong but I can't figure were is. Try specifying the data content type AnsiString asPost; asPost = PostMemo->Text; SslHttpCli1->SendStream = new TStringStream(asPost); SslHttpCli1->SendStream->Seek(0,soFromBeginning); SslHttpCli1->ContentTypePost='application/json';

Re: [twsocket] Body not send on https post

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

Re: [twsocket] Body not send on https post

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

[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.Length()); WideString ws;