HTTPS calls made from angular application

How can I make HTTPS request from angular app to c# controller. Is it possible at all?
How do I provide certificate & public / private key along with C# request.

export const environment = {
  production: false,
  apiUrl: 'https://ourlady:4000'
const baseUrl = `${environment.apiUrl}/accounts`;
register(account: Account) {
        return`${baseUrl}/register`, account);

>Solution :

You can make https calls with angular HttpClient – just start your request with https://
Everything else, including check for certificate, is done by browser

Leave a Reply