from origin 'http://localhost:4300' has been blocked by CORS policy: Response to preflight code example
Example: origin 'http://localhost:4200' has been blocked by CORS policy
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'Content-Type',
'Access-Control-Allow-Methods': 'GET,POST,OPTIONS,DELETE,PUT',
'Authorization': 'Bearer key',