我可以调用网络服务,但名称属性没有绑定。
提琴手请求
POST http://localhost:50399/api/custservice/ HTTP/1.1
User-Agent: Fiddler
Host: localhost: 50399
Content-Length: 28
{ "request": { "name":"test"}}
POST 网络方法
public string Any(CustomerRequest request)
{
//return details
}
客户请求.cs
public class CustomerRequest
{
public string name {get;set;}
}