QuestionQ37Verified/Data services and integrationCopy linkReport a problemAsk AstroTutorSave questionHow can CORS support be turned on for a RESTful API in IBM App Connect Enterprise?ASet the HTTP Header Access-Control-Allow-Origin properly in the client requestBSet CORSEnabled to true on the RESTRequest node in a message flowCSet the CORS properties accordingly in an HTTP or HTTPS Connector policyDSet the HTTP Header Access-Control-Allow-Origin properly in the client responseShow AnswerAnswerExplanationCORS is enabled by configuring the CORS properties of the HTTP or HTTPS Connector policy, including setting CORSEnabled and, as needed, the permitted origins and methods. These listener settings control whether App Connect Enterprise responds to valid browser cross-origin requests.Learn morePermitting web browsers to access deployed HTTP services by enabling Cross-Origin Resource SharingHTTP Connector policy (deprecated)Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion