I learned
There are two types of CORS request,
1.Simple request
If the request is allowed then server respond with header that includes Access-Control-Allow-Origin: * or requested origin
Request sent before the original request by browser.
It will get triggered when
1.The HTTP method is PUT, DELETE and PATCH.