<分区>
我有一个可序列化的实体类employee
public class Emp
{
public int Id{get; set;}
public string Name{get;set;}
}
我想将此类的对象从浏览器发送到 WCF REST 服务以测试下面给出的我的添加方法
[WebInvoke(Method = "POST", UriTemplate = "Employee/")]
[OperationContract]
string SaveEmployee(Emp Employee);
谁能告诉我如何在基于浏览器的 url 中将自定义对象发送到 WCF REST 服务