How do I get the method/verb GET POST of the call ?

Hi !,

I am quite new on Xano, and looking for a way to solve my little problem for security.

Context :

API Security are based on Oauth JWT Token. Each Token have an applicationRole: read:user or write;user.

My problem is quite simple, I can retrieve the $request_uri to know the endpoint, but i did't find a way for the method like in the environnement variable.

For exemple : when I call GET /user, i want to retrieve the "GET" (and check if the access_token contains read:user)

Thanks in advance if you know a way ๐Ÿ™‚

6 replies