skip to Main Content

Javascript – How can i hadndle json data for registraton in my asp.net web api

Microsoft.AspNetCore.Http.BadHttpRequestException: Failed to read parameter "RegisterRequest registration" from the request body as JSON. ---> System.Text.Json.JsonException: JSON deserialization for type 'Microsoft.AspNetCore.Identity.DTO.RegisterRequest' was missing required properties, including the following: password at System.Text.Json.ThrowHelper.ThrowJsonException_JsonRequiredPropertyMissing(JsonTypeInfo parent, BitArray requiredPropertiesSet) at System.Text.Json.Serialization.Converters.ObjectWithParameterizedConstructorConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options,…

VIEW QUESTION
Back To Top
Search