2017-05-09 26 views

回答

0

尝试这样:

/content/currentsite/<culture>/all/?classnames=<class code name> 

Here你可以找到获取内容的所有细节/通过Kentico休息服务数据。

1

如果你想检索内容,你必须使用GET(不是POST)。 POST用于creating resourcesPUT用于updating

从文档:

的Kentico REST服务的基本URL是/休息。 例如,如果您的站点正在运行http://localhost/Kentico,请使用 http://localhost/Kentico/rest作为服务的基本URL。

这是你如何找回他们所有的数据加上所有文件:

http://localhost/Kentico/rest/content/currentsite/en-us/all/?coupleddata=true

另外,请documentation所有例子。

相关问题