skip to Main Content

Javascript – Web API With AJAX problem /Failed to load resource: the server responded with a status of 400 ()

[HttpPost("Login")] public async Task<IActionResult> Login([FromBody] SigninViewModel formData) { MemberCredential membercredential = await db.MemberCredential.FirstOrDefaultAsync(t => t.MemberAccount.Equals(formData.memberAccount)); if (membercredential == null) { var test = new { success = false, message = "無此帳號,請重新輸入。" }; Console.WriteLine(test); return BadRequest(new { success = false, message…

VIEW QUESTION

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
Back To Top
Search