Enabling CORS in ASP.NET Web API

less than 1 minute read

The simplest way I’ve solved this is by adding below headers to all responses by adding them to Web.Config.

Adding headers to http requests in Angular2

1 minute read

One of the common scenarios where the ability to add headers to angular http requests comes in handy is authentication API calls using tokens. It is very eas...