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 KumarRank #91 · 22.9K reputationPosted Dec 8, 2018, 2:07 AM EST
Ashwin ChauhanRank #3,021 · 477 reputationPosted Dec 8, 2018, 2:20 AM EST