skip to Main Content

Json – why are properties in my response object set to null?

I have this endpoint method: var authToken = await [url] .AddAuthHeaders(config) .PostJsonAsync(new AuthTokenRequest { GrantType = "test", ClientId = "test", ClientSecret = "test", Audience = "test" }) .ReceiveJson<AuthTokenResponse>(); It's calling this endpoint: [HttpPost] public IActionResult Get([FromBody] object request) { try…

VIEW QUESTION
Back To Top
Search