rest - Rest API 不适用于 IE11,但适用于 Chrome 和 edge
问题描述
我有一个 Rest API,它在 Chrome 和 Edge 中返回结果,但在 IE11 中没有返回任何结果,有人可以帮忙吗?
http://URL/SiteCollection/_api/web/lists/getbytitle('ListName')/items?$select=ID&$filter=((Item_x0020_Number eq '11000000018') and (AX_Customer_x0020_ID eq '31000001461') and (ParentID eq '154') and ((Request_x0020_Status eq 'X') or (Request_x0020_Status eq 'Y') or (Request_x0020_Status eq 'Z')))
解决方案
编辑:
前面我们讲过,在IE浏览器中,空格字符不能转为转义字符%20,你可以手动修改Url,再试试看是否有效。
推荐阅读
- android - Handler Thread:每个线程只能创建一个 Looper
- java - 如何编辑文件中的行
- wordpress - 迁移 Wordpress 站点时 Apache2 失败
- sql-server - 从本地 SQL Server 数据库同步表的 Azure 限制
- python - 绘制DataFrame的两列时出现奇怪的图形
- eclipse - 如何在 Eclipse 的一个编辑器中合并 3 个文件
- javascript - 如何限制angularjs ng-repeat中的对象?
- javascript - 为 PHP 数组中的单个变量分配颜色
- c# - 尝试以编程方式使用 SQLite .import 命令时出现语法错误
- docker - 在 Docker 镜像名称中,Alpine、Jessie、Stretch 和 Buster 有什么区别?