HTTP API Authentication via URL

Discussion for all types of camera
rmchapa
Posts: 7
Joined: Tue Oct 03, 2017 5:23 pm

HTTP API Authentication via URL

Postby rmchapa » Mon Oct 16, 2017 11:38 am

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

Postby rmchapa » Sat Nov 04, 2017 10:12 am

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

Postby jlopez » Tue Dec 19, 2017 1:26 pm

Did you find a solution for this?

jantman
Posts: 13
Joined: Thu May 03, 2018 12:36 pm
Location: Atlanta, GA
Contact:

Re: HTTP API Authentication via URL

Postby jantman » Thu May 03, 2018 1:29 pm

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?
Lead Software Engineer, Tooling & Automation. Formerly, Wireless & Network Systems Engineer.
Doing all sorts of crazy things to anything with an IP address.
http://www.jasonantman.com / http://github.com/jantman


Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests