RequestToken without the Sphinx Components

I am trying to request a token from a sphinx server without using the Sphinx client components. I have used a Delphi THttpClient and as far as I can see have all the parts correct. I post the request but get a 'Method not allowed error'.

Any ideas?

Method not allowed usually means you are invoking the endpoint with an HTTP method (e.g., GET) but the endpoint expects a different one (POST, for example).

That's what my understanding is, but I am posting the request.

I'm now having this issue on an XData service, where I have changed the method to [httpGet] and can't see where this is being blocked. IS this s a property in XData?

Can you please maybe provide more detailed info about which endpoints you are invoking, how, etc.?

Just ignore that last one. let me explore a bit more