I own a Dlink DCS-2121 Camera and I m writting a C++ application using this camera. I just need to capture a picture.
Then I use the URL : http://192.168.1.2:80/image/jpeg.cgi
But the fact is that it need an authentification.
I tried this : http://user:firstname.lastname@example.org:80/image/jpeg.cgi
or this : http://192.168.1.2:80/image/jpeg.cgi&user=admin?pwd=
And it doesnt work.
What's the right URL ?
In another project, I connected my application to the web server of a camera directly by Socket and by sending an HTTP request, I received an image
The request was : "GET /snapshot.jpg?user=admin&pwd= HTTP/1.1\r\n\r\n"
What should be the right request to get an image with the DCS-2121?
Thanks you !