I’ve actived the options to block all the requests for wp-json, but if i try to request without any parameter using the link “http://localhost/wp-json/” it returns all the endpoints, but if i try to request using “http://localhost/index.php?rest_route=/” it blocks it.
Is there a way to fix it without creating a hook?
In this case i want to solve using the actual plugin.