angular services status return 400 response

The solution for “angular services status return 400 response” can be found here. The following code will assist you in solving the problem.

// 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{
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; }


Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

inline scripts encapsulated in