# Request HTTP digest

**URL:** https://discourse.nodered.org/t/request-http-digest/89535
**Category:** General
**Tags:** http-request
**Created:** [16 July 2024 06:55 UTC](https://discourse.nodered.org/t/request-http-digest/89535 "2024-07-16T06:55:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![LinkView\_Maze](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@LinkView\_Maze](https://discourse.nodered.org/u/LinkView_Maze)
#### Post date: [16 July 2024 06:55 UTC](https://discourse.nodered.org/t/request-http-digest/89535/1 "2024-07-16T06:55:18Z")

</div>

Hello, I have a problem with node HTTP REQUEST.

I have an API with a Dahua camera which allows me to know the number of people in an area.

> http://"ipcam"/cgi-bin/videoStatServer.cgi?action=attach&channel=1&heartbeat=2

When I do in a command prompt, it works, I get some information back.

> curl --digest -u "user":"pw" -s "http://"ipcam"/cgi-bin/videoStatServer.cgi?action=attach&channel=1&heartbeat=2"

When I use the HTTP REQUEST node, by filling in the authentication digest information, the node displays request then "no response from server". The request is a long connection and must remain open with no end time. Could you help me ?

I need to retrieve the response message to do my analysis in node red for info the response looks like this:

> --myboundary  
> Content-Type: text/plain  
> Content-Length: 589
> 
> summary.AreaID=1  
> summary.Channel=0  
> summary.EnteredSubtotal.Hour=0  
> summary.EnteredSubtotal.Today=0  
> summary.EnteredSubtotal.Total=0  
> summary.EnteredSubtotal.TotalInTimeSection=0  
> summary.ExitedSubtotal.Hour=0  
> summary.ExitedSubtotal.Today=0  
> summary.ExitedSubtotal.Total=0  
> summary.ExitedSubtotal.TotalInTimeSection=0  
> summary.InsideSubtotal.ManStayStat[0].EnterTime=2024-07-16 08:36:03  
> summary.InsideSubtotal.ManStayStat[0].ExitTime=2024-07-16 08:54:11  
> summary.InsideSubtotal.Total=0  
> summary.PlanId=0  
> summary.PtzPresetId=0  
> summary.RuleName=ManNumDetection  
> summary.UTC=1721120040
> 
> --myboundary  
> Content-Type: text/plain  
> Content-Length:9
> 
> Heartbeat  
> --myboundary  
> Content-Type: text/plain  
> Content-Length: 452
> 
> summary.AreaID=1  
> summary.Channel=0  
> summary.EnteredSubtotal.Hour=0  
> summary.EnteredSubtotal.Today=0  
> summary.EnteredSubtotal.Total=0  
> summary.EnteredSubtotal.TotalInTimeSection=0  
> summary.ExitedSubtotal.Hour=0  
> summary.ExitedSubtotal.Today=0  
> summary.ExitedSubtotal.Total=0  
> summary.ExitedSubtotal.TotalInTimeSection=0  
> summary.InsideSubtotal.Total=1  
> summary.PlanId=0  
> summary.PtzPresetId=0  
> summary.RuleName=ManNumDetection  
> summary.UTC=1721120041
> 
> --myboundary  
> Content-Type: text/plain  
> Content-Length:9
> 
> Heartbeat

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [14 October 2024 06:56 UTC](https://discourse.nodered.org/t/request-http-digest/89535/2 "2024-10-14T06:56:10Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
