【发布时间】:2016-08-28 04:17:12
【问题描述】:
我使用这个 php 代码将我的数据作为参数发送
$jsonData = json_encode(array('shenase'=>$shenase,'fullname'=>$name,'nikokarhaghighi'=>$nikokarhaghighi,'nikokarhoghoghi'=>$nikokarhoghoghi,
'stateone'=>$stateone,'questionone'=>$questionone,'questiontwo'=>$questiontwo,
'statethree'=>$statethree,'stateFour'=>$stateFour,'statefive'=>$statefive));
我想像这样在我的网址末尾添加$jsonData
(...../check/checkdata?data=' . $jsonData).
我使用 webAPI 来获取这个$jsonData。如何在 C# 中获取这些数据?
【问题讨论】:
标签: c# php json asp.net-web-api