x-wp-nonce is not allowed by Access-Control-Allow-Headers in preflight response
I would like my dev server on http://localhost:8080 to work with my wordpress install’s rest api, of which the api base url is at http://localhost/wptest2/index.php/wp-json/ I am currently getting the title error when I try to make requests through the dev server: Access to fetch at ‘http://localhost/wptest2/index.php/wp- json/plugin/load?limit=10&offset=0’ from origin ‘http://localhost:8080’ has been blocked by … Read more