Record - http : CorsConfig

Configurations for CORS support.


  • allowHeaders string []
  • The array of allowed headers by the service

  • allowMethods string []
  • The array of allowed methods by the service

  • allowOrigins string []
  • The array of origins with which the response is shared by the service

  • exposeHeaders string []
  • The whitelisted headers which clients are allowed to access

  • allowCredentials boolean false
  • Specifies whether credentials are required to access the service

  • maxAge int -1
  • The maximum duration to cache the preflight from client side