12315 品牌列表接口报错

2019-05-28 14:31:17 +08:00
 banditv2ex

请问一下有没有 12315 的同学,你们的投诉->品牌列表接口报错了

请求内容( session 部分做了修改)

POST /commonsearch/brandlist HTTP/1.1
Host: www.12315.cn
Connection: keep-alive
Content-Length: 23
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.12315.cn
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://www.12315.cn/cuser/portal/tscase/information
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,tr;q=0.7,zh-TW;q=0.6,ja;q=0.5,ar;q=0.4,pt;q=0.3,fr;q=0.2
Cookie: huaweielbsession=c408c6e01354ac418dcad84341a47; UM_distinctid=160baaaf7a9-02052e86524f58-37647e03-1fa400-16afd0baab05b1; CNZZDATA11484989=136028-1559021042-null; JSESSIONID=4C28A3D5D9EB049FE5E1197AB

返回内容(这是个 json 请求,返回的是 text)

<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><title>403 Forbidden</title><style type="text/css">body{margin:5% auto 0 auto;padding:0 18px}.P{margin:0 22%}.O{margin-top:20px}.N{margin-top:10px}.M{margin:10px 0 30px 0}.L{margin-bottom:60px}.K{font-size:25px;color:#F90}.J{font-size:14px}.I{font-size:20px}.H{font-size:18px}.G{font-size:16px}.F{width:230px;float:left}.E{margin-top:5px}.D{margin:8px 0 0 -20px}.C{color:#3CF;cursor:pointer}.B{color:#909090;margin-top:15px}.A{line-height:30px}.hide_me{display:none}</style></head><body><div id="p" class="P"><div class="K">403</div><div class="O I">Forbidden</div><p class="J A L">Error Times: Tue, 28 May 2019 06:24:48 GMT<br><span class="F">IP: 113.104.245.67</span>Node information:fjqzdx245:6<br>URL: http://www.12315.cn/commonsearch/brandlist<br><span class="hide_me">Please contact our support: <A HREF="mailto:"></A><br></span>Check: <span class="C G" onclick="s(0,0)">Details</span></p><div class="K">403</div><div class="O I">Forbidden</div><p class="J A">出错时间: Tue, 28 May 2019 06:24:48 GMT<br><span class="F">用户 IP: 113.104.245.67</span>节点信息:fjqzdx245:6<br>URL: http://www.12315.cn/commonsearch/brandlist<br><span class="hide_me">如需支持请联系我们: <A HREF="mailto:"></A><br></span>查看报错详情: <span class="C G" href="#" onclick="s(1,0)">详细信息</span></p></div><div id="d" class="hide_me P H"><div class="K" id="B0"></div><p class="O I" id="B1"></p><div class="O"><div id="B2"></div><pre class="B G">http://www.12315.cn/commonsearch/brandlist</pre></div><div class="M"><span id="B3"></span><ul class="E"><li class="D G" id="B4"></li></ul></div><p class="M" id="B5"></p><a class="N C" id="B6" href="#" onclick="s(0,1)"></a></div><script type="text/javascript">var R=["ERROR","错误", "The Requested URL could not be retrieved","您所请求的网址(URL)无法获取", "While trying to retrieve the URL:","当尝试读取下面的网址( URL )时:", "The following error was encountered:","发生了下列错误:", "Invalid Request","无效的请求", "The access control configuration prevents your request at this time.<p></p>Please contact your service provider if you feel this is incorrect.","访问控制拒绝了你的请求,联系服务商以修正该问题。", "return","返回"];function e(i){return document.getElementById(i);}function n(i,t){e(i).innerHTML=t;}function d(i,t){e(i).style.display=(t?'block':'none');}function s(z,e){d('p',e);d('d',!e);if(!e){for(;e<7;e++) n("B"+e,R[e*2+z]);}}</script></body></html>
2005 次点击
所在节点    全球工单系统
2 条回复
banditv2ex
2019-05-28 14:35:58 +08:00
目前好多接口都是 403,不知道是因为我打开的姿势不对还是官网在做维护。
ihciah
2019-05-28 15:14:58 +08:00
我以前在的中学有个举报箱,写着“举报箱”的贴纸直接糊死了箱门。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/568390

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX