D-Link Forums

D-Link IP Cameras for Home => DCS series Network Cameras => Topic started by: philouuuu on August 27, 2009, 12:53:40 AM

Title: DCS-2121 Capture picture with HTTP request without authentification
Post by: philouuuu on August 27, 2009, 12:53:40 AM
Hello,

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:pwd@192.168.1.2: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 !
Phil
Title: Re: DCS-2121 Capture picture with HTTP request without authentification
Post by: philouuuu on August 31, 2009, 10:42:04 AM
Big up

Anybody used a DCS camera in his own application?
Title: Re: DCS-2121 Capture picture with HTTP request without authentification
Post by: philouuuu on September 09, 2009, 10:49:02 AM
Why anybody cant answer my question?
Is there nobody from DLink here ???
Thks
Title: Re: DCS-2121 Capture picture with HTTP request without authentification
Post by: madhusudhan on September 10, 2009, 09:57:28 PM
How to capture image by using DCS-2121 D-link camera. i am working in VS C#.net 2005.
Can you please send how to capture image. D-Liink  DCS-2121 is IP based wireless camera.


what i want is when i click the button Capture image will capture automatically save in any location.

 
Title: Re: DCS-2121 Capture picture with HTTP request without authentification
Post by: ECF on September 15, 2009, 01:33:55 PM
Unfortunately this camera is not supported in the US so I do not have any helpful information to provide I would recommend contacting support in the region you purchased the camera and request SDK (software development kit) for this camera.
Title: Re: DCS-2121 Capture picture with HTTP request without authentification
Post by: madhusudhan on September 23, 2009, 11:07:06 PM
Hello,

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:pwd@192.168.1.2: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 !
Phil





Can u send me the code , i will try it.

send that D-Link  code which is you developed  to my mail id:  " pmadhu.net@gmail.com"




Title: Re: DCS-2121 Capture picture with HTTP request without authentification
Post by: noipser on April 01, 2010, 02:48:13 AM
very late reply :)

I successfully fetched a picture from my d-link dcs-2121 using this url:

   http://admin:<passwd>@192.168.1.20:80/image/jpeg.cgi&profileid=1

Greets,
  Noipser