Hi Ralf, The problem isn't the sending of the headers but reading them using livecode server. We are using Linux servers so the Mac problem is not an issue.
Via PHP the call is get_headers ( string $url [, int $format = 0 [, resource $context ]] ) : array Basically is there a way of doing that in pure livecode server? Regards Lagi (and Todd) On Thu, 17 Oct 2019 at 14:18, Ralf Bitter via use-livecode < firstname.lastname@example.org> wrote: > Todd, sending Authorization HTTP request headers > to LC server on Linux should work. I have > troubles with request headers too, but only on Mac OS. > > > Ralf > > > > > On 17. Oct 2019, at 13:56, Todd Fabacher via use-livecode < > email@example.com> wrote: > > > > Hello all, > > > > We are running LC Server Scripts to process some DB request and we > > want to do basic validation by passing a token from the App to the > > server script. > > > > The problem is I can not find where I can get the headers on the > > server. I looked in $_SERVER, but not there. I see the CONTENT_TYPE > > and HTTP ACCEPTS which I set in my header, but I can's find anything > > else from the header that was posted. > > > > Does anyone know how to read an "Authorization: Bearer" header in > > LiveCode Script on the server?? Thanks for the help. > > > > --Todd Fabacher > > > _______________________________________________ > use-livecode mailing list > firstname.lastname@example.org > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list email@example.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode