Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

angular services status return 400 response

// to resolve this you must write the Same Model parameters in angular like your Backend Model 
// Same name and types and order !!!!!

export class SignUp{
    fullname!:String;
    email!: string;
    ps!: string;
    img!: string;
}

// .NET example
public class SignUp
    {
        public string fullname { get; set; }
        public string email { get; set; }
        public string ps { get; set; }
        public string img { get; set; }

    }
 
PREVIOUS NEXT
Tagged: #angular #services #status #return #response
ADD COMMENT
Topic
Name
6+3 =