How can I post XML data format to server? (I only know post paramters to server)
Thank you!
It will depend on the server. You could get the NSData
-bytes
representation of the XML data and, if you're working with a RESTful web application, use PUT
or POST
when sending the data.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.