Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6594385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:48:15+00:00 2026-05-25T17:48:15+00:00

i want to develop an app to communicate with a webserver. I have an

  • 0

i want to develop an app to communicate with a webserver.
I have an webserver with data’s which i want to load on iOS devices.

My aim is:
– I start the app
– Login to the Webserver (or use offline if i have connected to the webserver before)
– Handle my data, read my news and so on, change any data(Online and Offline)
– Check while working with the app, if any data’s changed and ‘snyc’ or ‘upload’ the changes to the webserver

*The Data's are only text, no images, no files at the moment*

Now my question is, which is the best way for my app?

Which API should i use for my webserver to communicate with the iOS device?
– I have read a lot of XML and JSON and may JSON would be the fastest and easiest to use it on a webserver and on iOS.
How can i use the App offline and parse it on changes? And if anything changes, how can i sync it?
How should i solve the login, how to authenticate? i think this is a very important point of security.

To work only with Request would not be efficient, i think, because there are a lot of data’s.

Thanks for any recommandations,
brush51

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:48:16+00:00Added an answer on May 25, 2026 at 5:48 pm

    For communication, consider using a library like ASIHTTPRequest.

    What is ASIHTTPRequest?

    ASIHTTPRequest is an easy to use wrapper
    around the CFNetwork API that makes some of the more tedious aspects
    of communicating with web servers easier. It is written in Objective-C
    and works in both Mac OS X and iPhone applications.

    It is suitable performing basic HTTP requests and interacting with
    REST-based services (GET / POST / PUT / DELETE). The included
    ASIFormDataRequest subclass makes it easy to submit POST data and
    files using multipart/form-data.

    The data format (JSON, XML) is really up to you. I like JSON and it is trendy at the moment for sure.

    As far as authentication, consider using https:// requests to secure the communication. Send the username / password over https and then assign a cookie with an authentication token. On subsequent requests the authentication token will be sent along in the cookie (automatically) and will be encrypted if you are using https://. Your api’s will need to make sure the authentication token in the cookie is legit, then do the processing.

    That’s one approach on security I’ve used in the past and it works well. There are a lot of good articles you can read on how to secure your communication.

    Take a look at Best Practices for securing a REST API / web service

    Also see How to Create Totally Secure Cookies

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am develop app in Blackberry which have photo functionality. i want to get
I want to develop an app that can download a load of data at
I want to develop an app which can send and receive data from a
I want to develop such an app. on installation of which I would have
I want to develop an app with the Spotify API. I have downloaded the
I want to develop an app which records the call-duration etc.. when a call
I have a iPhone app and want to develop iPad app with the same
If I want to develop php app in linux , which version of linux
I want to develop an Android App, which will give me the speed with
I want to develop an iPhone app that read data from the internet but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.