WCFサービスのPOSTメソッドで取得されるものと同じオブジェクトをiOSで作成する必要がありますか?
WCFサービスでのPOST呼び出しの例
[OperationContract]
[WebInvoke(Method = "POST",
ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "")]
//method
Employee PostEmp(Employee emp);
[DataContract]
public class Employee
{
[DataMember]
public string firstname { get; set; }
[DataMember]
public string idkey { get; set; }
[DataMember]
public string lastname { get; set; }
[DataMember]
public string salary { get; set; }
public Employee(string first, string id, string sal, string last)
{
firstname = first;
idkey = id;
salary = sal;
lastname = last;
}