微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ColdFusion Rest Web 服务停止工作

如何解决ColdFusion Rest Web 服务停止工作

我们在 ColdFusion 中开发了 Rest webservices,它使用 POST 数据并返回输出结果。所有这些都运行良好,但突然无缘无故停止工作。

这是一个简单的网络服务,它使用基本身份验证、传递一些标头和表单数据。这就是邮递员请求的样子。

POST /rest/apis/auth/token HTTP/1.1
Host: mydomain.com
Authorization: Basic PROTECTED
CfURL: www.google.com
Content-Type: application/x-www-form-urlencoded

APIKey=xxxxxx

有时我会收到此错误

"Error","ajp-nio-127.0.0.1-8018-exec-23","04/19/21","15:48:40","","The @FormParam is utilized when the content type of the request entity is not application/x-www-form-urlencoded The specific sequence of files included or processed is: C:\home\*.cfc'' "

有时我会收到此错误 -

enter image description here

任何帮助表示赞赏。谢谢

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。