msd 5 Posted 21 hours ago Hello, I have one small question for Delphi network experts. I need a source for Auth Digest for HikVision devices, and I will post a sample below. GET /ISAPI/Event/notification/alertStream HTTP/1.1 Authorization: Digest username="admin", realm="IP Camera(C2183)", nonce="4e5468694e7a42694e7a4d364f4449354d7a6b354d54513d", uri="/ISAPI/Event/notification/alertStream", cnonce="3d183a245b8729121ae4ca3d41b90f18", nc=00000001, qop="auth", response="f2e0728991bb031f83df557a8" Host: 10.6.165.192 Thanks for any help in advance... Share this post Link to post
mjustin 26 Posted 4 hours ago Which HTTP client / component / library is used? (Indy, ICS, ...) Share this post Link to post
Angus Robertson 590 Posted 4 hours ago Assuming you've missed a newline after http/1.1, this looks is standard authentication, any proper library should handle it, ICS certainly should. Angus Share this post Link to post
msd 5 Posted 3 hours ago (edited) I'm using Indy with the latest Delphi version, and I have DevArt SecureBridge as another VCL for the network app... It is not a problem if you have any advice from another VCL, but I try to pack all of my work in those two component sets. Thanks for the help and assistance... P.S. I'm using HikVision camera as HTTP client/server device. Edited 3 hours ago by msd Share this post Link to post
Remy Lebeau 1471 Posted 3 hours ago (edited) Indy's TIdHTTP component supports Digest, just make sure the IdAuthenticationDigest unit is in your uses clause (directly, or via the IdAllAuthentications unit) . And then you can set the TIdHTTP.Request.Username and TIdHTTP.Request.Password as needed. Edited 3 hours ago by Remy Lebeau 1 Share this post Link to post