I am trying to create a simple login popup. From the shared image of UI, you can see, a login button(top right) which opens a popup for login form.


Now, I want to pass the email and password to the backend and get it verified. I used axios with POST request.

How should be the target URL specified and in which file should I create the php function to verify the username and password.

Do I need to create a dummy component or module or plugin to achieve this.

Googling I saw some urls were


But not sure where to write this function loginVerify


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.