私はこのレポ角度2つのユニバーサル+ WordPressのREST APIをセットアップしようとしています:? https://github.com/jussikinnula/angular2-universal-wordpressWordpressの残りアピWP-JSON/WP/V2 /見つけるパス=
get関数では、検索があります/ wp- json/wp/v2/find?path = WordPresの残りのAPIから削除されましたか? 私は私のウェブ上で検索を行うと、自分のURLに404エラー
パス
http://ecommerce-ux.london/wp-json/wp/v2/find?path=
を取得しようとして見つけるがWordpress API changes pageでここ
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/ –