-2
我在json請求下發送消息,但在應用程序中發送時出錯。以下是請求格式。我想發送json請求,它將返回一個xml響應。json請求中的問題
{
"Request": {
"Header": {
"Version": "1.0",
"Command": "ActiveTest",
"cc": {
"cctype": "1",
"id": "Test_id",
"Password": "********"
},
"KeyOwner": "1",
"Timestamp": "20151211121212"
},
"Body": {
"user": {
"Init": {
"idtype":"1",
"id": "88384648929",
"pass":"1234244"
},
"ActiveTest": {
}
}
}
}
}
錯誤:
Unexpected character '"' (code 34) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]|Param={void}