Setting Access-Control-Allow-Origin Header
Setting the Access-Control-Allow-Origin header value allows browsers to get
responses from the origin and access it for the request codes sent.
The following is the procedure to set Access-Control-Allow-Origin header: