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 7410723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:16:37+00:00 2026-05-29T06:16:37+00:00

Introduction to the situation For an application I’m currently developing, I need to code

  • 0

Introduction to the situation

For an application I’m currently developing, I need to code up to a website’s API to handle uploading of new videos, as well as validating user login and so forth. In the documentation for the API, the examples provided of how to use it is all in PHP, and I’m not sure what the best way of handling this is in objective-c, as when it comes to protocol programming my experience with the obj-c language falls short.

Deeper explanation

I shall avoid posting any details about the API as this should be kept secret, so I hope my explanation will be enough to generate a simple example/answer of some sort.

So the basic idea is that you send an HTTP POST request to the API url. The output of calling this URL will be XML information about the site and the current user logged in.

When sending the POST request to the API I have some choices about certain variables I want to send with the request, depending on what kind of information I want returned (This could be things like a user’s password, user ID, and so forth).

The variables you send to the API is an array of alphabetically sorted key-value pairs (where the variable to send to the API is the key, and the value is what you want returned from that key).

The Question

My question simply is how you go about executing an HTTP POST request to a certain URL and handle returned XML data? Is there even any in-build functionality of doing so in obj-c?

I’ve been researching on this subject but I can’t seem to find any information that’s relevant to this specific problem, but if there is any articles on it then I would be grateful for that as well.

  • 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-29T06:16:39+00:00Added an answer on May 29, 2026 at 6:16 am

    My question simply is how you go about executing an HTTP POST request to a certain URL

    You use NSMutableURLRequest for that. You can set the HTTP method, header fields, etc.

    and handle returned XML data?

    NSHTTPURLResponse will provide the response data, whether it’s in XML, JSON, HTML, whatever.

    Another option is ASIHTTPRequest, which is quite popular due to its ease of use.

    Whatever you decide to use, start by reading the URL Loading System Programming Guide so that you have a solid understanding of the URL loading features built into the Foundation framework.

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

Sidebar

Related Questions

Introduction I'm building an API wrapper for the SE API 2.0 Currently, I'm implementing
Introduction: I am currently developing a document classifier software in C/C++ and I will
Long introduction: Normally all data necessary for my web application are stored in session
jQuery is currently providing me with a fun introduction to Javascript after 12 years
Introduction elem.hidden is a new property that allows to hide elements and detect whether
Introduction I'm relatively new to C++. I went through all the basic stuff and
Introduction I am programming a semantic web application in haskell. With hsparql http://hackage.haskell.org/package/hsparql I
So, copying the code from Introduction to Compiler Construction in Unix I wind up
Introduction: I think Nape is a relatively new engine so some of you may
I'm developing an application that I suspect is suitable for using workflow. (It's easy

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.