How do I send a $_POST
request to my WordPress application from an external website, and handle it here? I want to send user credentials, along with additional login data, to perform an auto-login.
- Do I need to define a new URL for handling the $_POST request?
- Which action hook do I need to use for handling such a request?