apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
11 lines (10 loc) • 432 B
text/xml
<CORS name='CORS-1'>
<AllowOrigins>{request.header.origin:*}</AllowOrigins>
<AllowMethods>GET, PUT, POST, DELETE, OPTIONS</AllowMethods>
<AllowHeaders>origin, x-requested-with</AllowHeaders>
<ExposeHeaders>*</ExposeHeaders>
<MaxAge>1800</MaxAge>
<AllowCredentials>true</AllowCredentials>
<GeneratePreflightResponse>true</GeneratePreflightResponse>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
</CORS>