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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:47:36+00:00 2026-06-03T00:47:36+00:00

Can somebody post some code example(code or link) of how to http authenticate from

  • 0

Can somebody post some code example(code or link) of how to http authenticate from iphone objective c using xcode?

I wanna to go to my web application passing through POST login and passord and be able to return the response to validate it is authenticated or not

thanks

  • 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-06-03T00:47:38+00:00Added an answer on June 3, 2026 at 12:47 am

    Sounds like you’re doing form-based authentication, passing credentials as POST variables. If you already have a third-party networking wrapper you’re using (such as AFNetworking), read its documentation to find out what facilities it has for sending POST variables.

    If you want to roll your own, the basic process is:

    • Create an NSMutableURLRequest with the login URL
    • Use the setHTTPMethod: method to set the request’s method to “POST”
    • Escape and concatenate your credentials to construct a well-formed POST body
    • Set the POST body of the request object with setHTTPBody:
    • Send the request with an NSURLConnection and receive the response using its synchronous or asynchronous API.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can somebody help me or share some code about how to achieve GeoFencing on
can somebody tell me how to use wildcards in the router table of node-http-proxy?
Can somebody help me with this. There is HTML code: <h3> <label> <input type=checkbox
I want to read data from a CSV file using microsoft text driver. Can
I've never seen this before. Please can somebody shed some light on it for
I get a random row from a mysql-server using php. I then display some
Can somebody show me some examples to import a html-page and use the XPath
Can somebody please explain the purpose of TempData in MVC. I understand it behaves
Can somebody explain about Iterative Deepening A* ? I still don't understand how it
Can somebody explain me what is being done in the CVector CVector::operator+ (CVector param).

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.