【发布时间】:2017-07-27 04:16:34
【问题描述】:
我正在尝试将 HTTP POST 命令直接用于 D-Link DCS-932L 摄像机(如果有帮助,我在 F/W 1.12 上有一台摄像机,在 1.14 上有另一台摄像机)。我不断收到 404 File Not Found 错误。
运行 Fiddler,我在浏览器中开启了动作,看到了以下请求:
POST /setSystemMotion HTTP/1.1
语法是
ReplySuccessPage=motion.htm&ReplyErrorPage=motion.htm&MotionDetectionEnable=1&MotionDetectionScheduleDay=0&MotionDetectionScheduleMode=0&MotionDetectionSensitivity=45&ConfigSystemMotion=Save
如果我尝试使用与我得到的完全相同的请求和语法通过 Chrome 扩展邮递员使用 HTTP POST 命令打开动作
<html><body><h2>Error: File Not Found</h2>
<p>getfile: Cannot open URL(/etc_ro/web/setform/setSystemMotion,No such file or directory)</p></body></html>
似乎相机的服务器已决定将我的 ./setSystemMotion 路由到此 ./etc_ro/web/setform 文件夹。我很乐意提供更多详细信息,但任何人都可以阐明可能导致这种变化的原因吗?
谢谢!
【问题讨论】:
标签: http post http-status-code-404