Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查询雅虎财经以获取 2000 只股票的价格。当我将所有两千只股票放在符号中时,它会返回 http 414 错误。我怎样才能克服这个问题。
HTTP 错误 414 表示您向服务器发送的 URL 太长。从本质上讲,您需要制定一个计划,将您的请求分解为对 Yahoo! 更易于管理的块。我不确定最大长度是多少,但也许考虑编辑您的代码以逐个查看库存和查询。