skip to Main Content

Azure – AAD Access token per API

Current Behavior - From our service-A, we are calling service-B. We are currently using client_credentials as a way to generate access_token for service-B(as shown below). Service-B is validating token generated at their end and everything is working fine. Expected behavior…

VIEW QUESTION

javascript: Not sending array with fetch api

I am trying to send array with fetch api. but it goes null. javascript: const url = "/TMF/DownloadFolderFilesAsZip"; var data = { method: "POST", body: JSON.stringify({ folderFiles: foldersFiles }), headers: new Headers({ 'content-type': 'application/json' }) } fetch(url, data) .then(resp =>…

VIEW QUESTION

Deployment of ASP.NET Core Web API to PLESK

This is my web.config file (ASP.NET Core 7.0) : <configuration> <system.webServer> <handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> </handlers> <aspNetCore processPath="dotnet" arguments=".Test.dll" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" /> <defaultDocument> <files> <clear /> <add value="index.html" /> </files> </defaultDocument> </system.webServer> </configuration> In this case…

VIEW QUESTION

How to post selected checkboxes as an array from angular to api – Html

I've created a component "form-page" in the "form" module: form-page.component.html: <form [formGroup]="form" (submit)="onSubmit()"> <div> <label for="carmodel">Car Model:</label> <input type="text" class="form-control" formControlName="carmodel"> <div *ngIf="form.controls['carmodel'].touched && form.controls['carmodel'].errors"> <div *ngIf="form.controls['carmodel'].hasError('required')" class="error">Carmodel is required.</div> <div *ngIf="form.controls['carmodel'].hasError('minlength')">Carmodel should be minimum 3 characters.</div> </div> </div> <div>…

VIEW QUESTION
Back To Top
Search