我试图设置此回购角2通用+ WordPress的REST API: https://github.com/jussikinnula/angular2-universal-wordpressWordPress的REST API WP-JSON/WP/V2 /找到路径=
在get函数有一个搜索/ WP- json/wp/v2/find?path = 是否已从WordPres rest api中删除? 我试图做我的网站上搜索,并得到一个404错误
路径我的网址
http://ecommerce-ux.london/wp-json/wp/v2/find?path=
Get请求与找到
get(path: string) {
if (path === "") {
path = "header";
}
return this.apiService.get("/wp-json/wp/v2/find?path=" + path)
.map(content => new Content(content))
.do(content => this.setMeta(content))
.catch(error => Observable.of(new Content({})));
}
似乎并不存在 - https://developer.wordpress.org/rest-api/reference/ –