【发布时间】:2016-06-28 12:11:38
【问题描述】:
我想使用 python 解析一个 POST HTTP 响应。
我的回复如下:
{
"Result": 0,
"ResponseStatus": {
"ErrorCode": null,
"Message": null,
"StackTrace": null,
"Errors": null
},
"SessionId": "68ebcd6f-0aef-420d-a12b-c953f8df8ed1",
"ResponseHeader": {
"Succeeded": true,
"Errors": []
}
}
我想将“SessionID”解析为第二个 http 请求。 我怎样才能实现它?谢谢 !
【问题讨论】:
-
使用json模块。
-
请添加您用来检索该代码的代码,以便我们根据它提供帮助。谢谢!
标签: python parsing httprequest httpresponse