请求库POST请求获得http 450错误

时间:2016-12-17 11:47:29

标签: javascript python node.js post web-crawler

我正在向网站的API发出简单的帖子请求,其中params只是一个json对象。看起来该网站具有某种访问控制机制并返回

{"status":450,"error":""}

我发现了这个

450 Blocked by Windows Parental Controls (Microsoft)
A Microsoft extension. This error is given when Windows Parental Controls are turned on and are blocking access to the given webpage.

我有什么方法可以打破Windows家长控制对网站的限制吗?

1 个答案:

答案 0 :(得分:1)

如果您的计算机上有MS家长控制,我建议您禁用它。否则,您需要从没有MS家长控制的计算机或服务器发送请求。

由于错误是服务器端,我最好的建议是简单地将数据作为字符串发送,而不是直接作为JSON发送。这可能会阻止MS家长控制决定请求是恶意的。

相关问题