I have a datasnap REST server that receives trafic from webhook or client. Incoming request contains header fields, with tokens, I need to access to auth the user request.
I use the following method to do some processing.
procedure TWebModule1.WebModuleBeforeDispatch(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); begin
How can I access the incoming header tokens
Tokens passed for example enter image description here