我正在努力通过JSON PRC传递数组。
http://localhost/archway-core/public/api/api.php?
{"jsonrpc":"2.0","method":"addUdfValue","params":{"formId":"1",**"fields":"sdf"**,"token":"1234"},"id":1}
我想通过{"fname":"kamran","age":"50"}
字段
有人知道这样做吗?
答案 0 :(得分:0)
好吧,我知道了这个问题,
http://localhost/archway-core/public/api/api.php?
{“ jsonrpc”:“ 2.0”,“ method”:“ addUdfValue”,“ params”:{“ formId”:“ 1”,“ fields”:{“ fname”:“ kamran”,“ age”: “ 50”},“令牌”:“ 1234”},“ id”:1}