HTTP API Authentication via URL

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
rmchapa
Posts: 7
Joined: Tue Oct 03, 2017 5:23 pm

HTTP API Authentication via URL

Post by rmchapa »

I am attempting to modify my API calls in light of the removal of basic authentication. I do not have a mechanism to utilize the digest authentication.

I was wondering it it was possible to pass my username and password as arguments to the API. i.e. can I send in the username and password like this:

http://1.2.3.4/cgi-bin/mjpg/video.cgi?username=myUsername&password=myPassword&channel=1&subtype=1
rmchapa
Posts: 7
Joined: Tue Oct 03, 2017 5:23 pm

Re: HTTP API Authentication via URL

Post by rmchapa »

anybody?

Is there any way to authenticate instead of digest auth?
jlopez
Posts: 2
Joined: Tue Dec 19, 2017 1:21 pm

Re: HTTP API Authentication via URL

Post by jlopez »

Did you find a solution for this?
jantman
Posts: 33
Joined: Thu May 03, 2018 12:36 pm

Re: HTTP API Authentication via URL

Post by jantman »

I'm new to Amcrest cameras, but from everything I can tell from the API docs and the two cameras I have, no, since the latest firmware releases only Digest is supported. There's a longer discussion of this in: https://amcrest.com/forum/technical-dis ... 1-s30.html

Can I ask how you're making the API calls that doesn't support Digest authentication?
Principal Engineer, Tooling & Automation. Formerly, Wireless & Network Systems Engineer (among many other things).
Doing all sorts of crazy things to anything with an IP address.
http://www.jasonantman.com / http://github.com/jantman
Post Reply