resthub/resthub.github.io

document CORSFilter usage

bmeurant opened this issue · 0 comments

migrating issue https://github.com/resthub/resthub.org:

See resthub/resthub-spring-stack#163

  • Configuring the filter in a web.xml
  • Configuring the filter in a WebappInitializer
  • Must-have init params for this filter: allowed methods and headers. Otherwise users will have problems with HTTP methods and Auth mechanisms.