Delete row from table using custom endpoint via API

A few things to try… Confirm you are using POST and not GET when hitting the endpoint. Postman could be helpful here. It appears you are testing your endpoint using Pretty Permalinks. Confirm you have Post Name permalink structure setup. This might be the solution to your problem. If that works however you are wanting … Read more

Is my WordPress site handing out sensitive information/misconfigured?

The /?rest_route URL is the non-prettified version of /wp-json, which is the URI the WordPress REST API uses. The REST API should not be disabled since the Admin UI relies upon it. Having said that, you can require the REST API only service authenticated users. To require authentication, add the following rest_authentication_errors filter: add_filter( ‘rest_authentication_errors’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)