无法将keyvaluePair传递给我的网络服务

时间:2014-04-18 05:52:23

标签: json web-services keyvaluepair

我有以下网络服务:

void uploadUserProperty(KeyValuePair<string, string[]> properties, string userId);

当我将正确的json传递给Web服务时,我总是得到400个错误的请求。 但如果Web服务更改为:

void uploadUserProperty(string properties, string userId);

我可以正确使用网络服务。 我确定json我传递给webservice是对的。 有人可以帮忙吗?

0 个答案:

没有答案
相关问题