Invoking a custom method using POST request

I am working on a login page and I noticed that when I invoke a custom method, Radzen studio approaches it via GET request.
Since login credentials are sensitive data, is there a way to configure the invokation to use POST request?
Thanks

Yes, you can add [HttpPost] attribute to your method:

Well, I actually did it, but it keeps sending GET requests


You might need to re-get the custom method in the Radzen IDE UI, check the page meta json also what's the method verb.

Re-getting the method worked. Thank you !