Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone Ios Sharpoint集成[Sharpoint作为后端]_Iphone_Ios_Web Services_Sharepoint - Fatal编程技术网

Iphone Ios Sharpoint集成[Sharpoint作为后端]

Iphone Ios Sharpoint集成[Sharpoint作为后端],iphone,ios,web-services,sharepoint,Iphone,Ios,Web Services,Sharepoint,我的后端有sharpoint服务,我想在IOS应用程序中使用它 在哪个术语中,我会响应支持XML或JSON格式的IOS 我是Sharpont integration的newbei 在这个问题上有人能支持我吗 需要一些步骤如何在IOS中使用我的网站Sharepoint respomce它支持哪些responce 如果您拥有SharePoint 2010,您就很幸运了,因为您可以使用SharePoint的“Restful API”——发送HTTP请求并接收jSON或XML数据作为响应。您可以在这里的

我的后端有sharpoint服务,我想在IOS应用程序中使用它

在哪个术语中,我会响应支持XML或JSON格式的IOS

我是Sharpont integration的newbei

在这个问题上有人能支持我吗


需要一些步骤如何在IOS中使用我的网站Sharepoint respomce它支持哪些responce

如果您拥有SharePoint 2010,您就很幸运了,因为您可以使用SharePoint的“Restful API”——发送HTTP请求并接收jSON或XML数据作为响应。您可以在这里的文档中找到很多答案:

看看这个项目,它支持SharePoint 2013 RestAPI,但是它使用声明协议进行身份验证,这更适合MS SharePoint Online。

添加信息及以上答案:

默认情况下,SPRESTQuery类以XML格式提供响应。如果您想获得JSON格式的响应,那么用executeQuery方法写这一行

行需要添加:


[APIRESQUEST setValue:@“application/json;odata=verbose”forHTTPHeaderField:@“Accept”]

谢谢。我用SharePoint 2013作为反手击球。你知道我该如何使用Restful API吗。。。