i have create one web services.
that service in one parameter is class.
how to pass postman parameter in class object.
it's my code.
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public List SaveOrder(strudent stud)
{
var list=new List();
list.Add(stud);
return list;
}
//Class
public class strudent
{
public string Fname { get; set; }
public string Lname { get; set; }
public string data { get; set; }
}
Jignesh KumarPosted Dec 8, 2018, 7:07 AM
Ashwin ChauhanPosted Dec 8, 2018, 7:20 AM