Allowed Methods
To allow any request method for a given configuration, don’t include the allowedMethods
key in your configuration.
For multiple allowed methods, set the allowedMethods
key of the configuration to a list of strings.
Example CORS Configuration
micronaut:
server:
cors:
enabled: true
configurations:
web:
allowedMethods:
- POST
- PUT