RTT

That worked perfect.

Thanks


El 08/08/2017 a les 0:39, RTT ha escrit:
On 07/08/2017 19:53, Xavier Mor-Mur wrote:
Hi all

I need send a request using http post to get some data from an https server. I know url and body to post, and additional data which identify session that should be included in the head (as instructions say).
Problem is I can't identify the property where to set this data.
I would appreciate any help.

Thanks in advance

Using the OnBeforeHeaderSend event:

procedure TMyHttpsCli.OnBeforeHeaderSend(Sender: TObject; const Method: string; Headers: TStrings);
begin
  Headers.add('YourDataProperty: YourDataValue');
end;


--
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

Reply via email to