Endpoint returning a 404
This is why: ‘methods’ => ‘POST’, Your REST API route is not being found because there is no route at that address that accepts a GET request. There is an endpoint with that name that accepts POST but it can only be accessed via a POST request. If you want to be able to visit … Read more