【发布时间】:2018-01-25 11:29:33
【问题描述】:
我正在使用一项网络服务将订单数据从 Ipad 离线应用程序同步到实时服务器。有时 web 服务工作正常,但有时不是。 因此,当我尝试使用 Postman 通过 url 调用该 Web 服务来解决问题时,我遇到了以下错误。
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>414 Request-URI Too Long</title>
</head>
<body>
<h1>Request-URI Too Long</h1>
<p>The requested URL's length exceeds the capacity
limit for this server.
<br />
</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at ip-172-31-31-143.ap-southeast-1.compute.internal Port 80</address>
</body>
</html>
请提供解决方案。提前致谢。
【问题讨论】:
-
使用较短的 URI。它告诉您 URI 太长。什么是 URI?如果您通过查询字符串参数传递一堆数据,也许您可以转换为 POST 数据。
标签: apache web-services codeigniter url