The preflight request contains metadata with information like: Origin: indicates the origin of the request (server name); Access-Control-Request-Method: which HTTP methods will be used; Access-Control-Request-Headers: keys that will be in the headers.