如何绕过客户端 http 响应来显示 json 字段中的隐藏项目?

如何绕过客户端 http 响应来显示 json 字段中的隐藏项目?

如果我向 API 发送 HTTP 请求,我会得到以下内容作为 JSON 响应的字段之一。

“商品数量”:20

客户端浏览器上的上限数字是 20,并不显示列表中项目的完整数量。例如,假设列表中有 36 个项目,但响应的上限始终是 20,而不显示剩余的 16 个项目。我该如何解决这个问题,从响应中找到列表中项目的总数量?

发送请求使用的HTTP标头如下:

POST /game/user/get_profile_by_username/ HTTP/1.1
Host: api.example.com
Content-Length: 26
X-Requested-With: ShockwaveFlash/22.0.0.209
Origin: http://www.example.com
ERROR_STATUS_CODE: 200
Content-Type: application/x-www-form-urlencoded
Accept: */*
Referer: http://www.example.com/flash_client/play.swf?q=401
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
Connection: close

相关内容