I am a beginner to ios development.
Can anyone tell me how to send data to server in xcode?
I have a requirement where I need to send device information to a server.
Asked
Active
Viewed 1,273 times
0

Ḟḹáḿíṅḡ Ⱬỏḿƀíé
- 2,128
- 5
- 23
- 33

Murali Krishna
- 167
- 4
- 17
-
just search in stack, before posting here.. – Mumthezir VP May 12 '15 at 09:44
-
Xcode is just an editor, in which language are your developing? – rckoenes May 12 '15 at 09:48
2 Answers
0
You need to first work out what kind of API the server you're talking to has exposed
Most modern web applications expose a Rest API (although I can only speculate as to what the server you mention is exposing). If Rest, then a good starting point should you not wish to write your own network layer is to use Restkit: https://github.com/RestKit/RestKit
If not Rest, then you need information on what the backend API is, and then go from there...

Guillaume Roderick
- 1,139
- 11
- 12
0
In it's most basic format you'll need to look at using NSURLRequest
and NSURLConnection
NSURLRequest : Post data and read the posted page
http://codewithchris.com/tutorial-how-to-use-ios-nsurlconnection-by-example/