How can I create a single HTTP Get request for iPhone?

Posted by Mph2 on Stack Overflow See other posts from Stack Overflow or by Mph2
Published on 2010-05-27T15:16:47Z Indexed on 2010/05/27 16:21 UTC
Read the original article Hit count: 123

Filed under:
|
|

Hi guys! First of all, sorry for my posibly bad english...

I got a surely big stupid question... In my enterprise have an automatic door system, that is opened with a HTTP GET request to a file.

Example:

http://ipaddress/rc.cgi?o=1,50

Where the o=number indicates the amount of seconds that the automatic door will run.

The is no need for authentification or nothing (that is made by LAN Radius).

So, the question is...

How can I make a single button (for example in the springboard) that when you touch it, runs the GET request?

You thing that it should be possible with NSURLConection ?

Thanks for all

© Stack Overflow or respective owner

Related posts about iphone

Related posts about button