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 want to post some data via javascript to another domain. Something like: http://www.othersite.com/submitfunnyname?name=blah
I want to do a HTTP POST of the format as follows, <?xml version=1.0
I want to simulate the following form and get the xml response: <form action=https://s7ugc3.scene7.com/ugc/image?op=upload&upload_token=<?php
In my application I want to post from my android application XML data in
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 want to post XML data by using curl. I am using these code
I have an ASP.NET application in which i want to post data using jQuery
I have a winForms NET3.5SP1 app, and want to POST data to a PHP
I have a blog on something.wordpress.com , I simply want one post to ALWAYS
I have an XML file and I want to retrieve data from it so

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.