简体   繁体   English

将xml从iPhone发布到服务器

[英]post xml from iphone to server

How can I post XML data format to server? 如何将XML数据格式发布到服务器? (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. 您可以获得XML数据的NSData -bytes表示形式,并且,如果您正在使用RESTful Web应用程序,则在发送数据时使用PUTPOST

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM