本帖最后由 s1711880582 于 2022-12-21 18:46 编辑
求助大佬!如何使用Node Red进行"Basic Authentication"加密的HTTP HTTP Request
我的宇视摄像头有个取照片的接口:
http://admin:[email protected] :85/images/snapshot.jpg
使用浏览器输入地址可以直接看到实时的照片。
浏览器访问的抓包如下:
我的Node Red配置如下
部署后报错如下
{
"Response": {
"ResponseURL": "/images/snapshot.jpg",
"ResponseCode": 3,
"SubResponseCode": 0,
"ResponseString": "Not Authorized",
"StatusCode": 401,
"StatusString": "Unauthorized",
"Data": "null"
}
}
复制代码
Error: ENOENT: no such file or directory, open '{
"Response": {
"ResponseURL": "/images/snapshot.jpg",
"ResponseCode": 3,
"SubResponseCode": 0,
"ResponseString": "Not Authorized",
"StatusCode": 401,
"StatusString": "Unauthorized",
"Data": "null"
}
}
复制代码
我该怎么排查问题?