Skip to content Skip to sidebar Skip to footer

How To Pass X-api-key In Headers In Angular Api Request?

I am trying to send x-api-key header in headers as shown below service.ts import { Injectable } from '@angular/core'; import { Http, Headers, RequestOptions, Response } from '@ang

Solution 1:

This is a server side issue, you have to configure your server to allow the needed header, search for "CORS allow headers"


Post a Comment for "How To Pass X-api-key In Headers In Angular Api Request?"