Oh Oh, "Collaboration" of the Warriors lost.
I've already put this question at stackoverflow, but I'll replicate it here trying getting an answer.
In my client application I'm using the following code to add a token in the header:
RESTRequest.Params.AddItem('Authorization', 'Bearer ' + MyToken, TRESTRequestParameterKind.pkHTTPHEADER, [TRESTRequestParameterOption.poDoNotEncode]);
I'd like to get this token in my server using datasnap.
I've tried use the answer from [here] and [here] but without success.
Is it possible?
How can I do this?