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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:07:58+00:00 2026-05-19T22:07:58+00:00

i want to post xml data in following format: <?xml version=1.0 encoding=UTF-8?> <data> <email>xyz@domain.com</email>

  • 0

i want to post xml data in following format:

  <?xml version="1.0" encoding="UTF-8"?>    
                       <data>                                               
                         <email>xyz@domain.com</email>
                                 <password>xyz123</password>                                      
                       </data>

and receive in following format from the webserver

<?xml version="1.0" encoding="UTF-8"?>    
            <user>
                          <user_id>12</user_id> 

                 </user>

help is appreciate
now i am trying to use NSUrlConnection and NSMutableRequest
i can post data on name like form post,but i want to post just xml data.
i have also tried to used ASIHTTPRequest .
any code or link is highly appriciated.

  • 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-19T22:07:59+00:00Added an answer on May 19, 2026 at 10:07 pm

    and finally i used library from http://allseeing-i.com/ASIHTTPRequest/

    and posted from following code:

    NSURL *url = [NSURL URLWithString:@"http://url to post data"];
        ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
        [request addPostValue:@"test name" forKey:@"name"];
    
        [request setDelegate:self];
        [request startSynchronous];
    

    and used delegate method to receive data or error.

    - (void)requestFinished:(ASIHTTPRequest *)request
    {
        // Use when fetching text data
        NSString *responseString = [request responseString];
        NSLog(@"%@",responseString);
    
        // Use when fetching binary data
        NSData *responseData = [request responseData];
    }
    
    - (void)requestFailed:(ASIHTTPRequest *)request
    {
        NSError *error = [request error];
        NSLog(@"Error %@",error);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a xml data as below: <list> <com.domain.Products> <cla__id> <cname>class1</cname> <id>1</id> </cla__id> <name>pname1</name>
I have a winForms NET3.5SP1 app, and want to POST data to a PHP
I want to salt a hashed username and password (submitted via http POST) in
I want to write a .xml file using the following code into the App_Data/posts.
I want to receive the following HTTP request in PHP: Content-type: multipart/form-data;boundary=main_boundary --main_boundary Content-type:
I want to send some data to a server through POST method in android.
I have a client submitting a web-request (POST) of XML data to a server.
I need to POST some XML data to a remote server for processing. The
i want to post the data in this link --www.google.co.in/dictionary?source=translation&hl=en&q=&langpair=en|hi-- it is for translation.
I want to POST an URL using CURL and php. There is a big

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.