2017-03-07 6 views
0

D-Link DCS-932Lカメラに直接HTTP POSTコマンドを使用しようとしています(私はF/W 1.12に1台、1.14に1台あります) 。私は404ファイルが見つかりませんエラーを取得し続けます。フィドラーを実行HTTP/1.1 D-Linkカメラへの投稿

は、私は、ブラウザの動きになって、次のリクエストを見てきました:私は、HTTPのPOSTコマンドを使用して運動をオンにしようと

POST /setSystemMotion HTTP/1.1 

構文は

ReplySuccessPage=motion.htm&ReplyErrorPage=motion.htm&MotionDetectionEnable=1&MotionDetectionScheduleDay=0&MotionDetectionScheduleMode=0&MotionDetectionSensitivity=45&ConfigSystemMotion=Save 

ですクロムエクステンション経由で郵便配達員と全く同じリクエストと構文を使用して返信する

<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フォルダにルーティングすることをカメラのサーバが決定したことを示します。私は詳細を提供してうれしいですが、誰かがその変化を引き起こす可能性のあることについて何らかの光を当てることができますか?

ありがとうございます!

答えて

0

私は同じ問題を抱えています。下記のフォーラム

curl "http://<IP>/setSystemMotion" -H "Host: <IP>" \ 
    -H "Referer: http://<IP>/setSystemMotion" -H "Authorization: Basic <AuthCode>" \ 
    -H "Connection: keep-alive" -H "Upgrade-Insecure-Requests: 1" \ 
    --data "ReplySuccessPage=motion.htm&ReplyErrorPage=motion.htm&MotionDetectionEnable=1&MotionDetectionScheduleDay=127&MotionDetectionScheduleMode=1&MotionDetectionScheduleTimeStart=07"%"3A10"%"3A00&MotionDetectionScheduleTimeStop=18"%"3A50"%"3A00&MotionDetectionSensitivity=70&ConfigSystemMotion=Save" 

https://www.developpez.net/forums/d1424172/systemes/hardware/achat-conseils/peripheriques/camera-ip-commandes-url-api-dlink-dcs-932l/#post8858654

から取らこのcurlコマンドで解決