I am trying to configure CORS globally via WebMvcConfigurerAdapter shown below. To test I am hitting my API endpoint via a small node app I created to emulate a
WebMvcConfigurerAdapter
you didn't declared method in it which is by default accept only get method. try registry.allowedMethods("*");
registry.allowedMethods("*");