Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WP-API入門

Takayuki Miyauchi
March 27, 2017
890

 WP-API入門

2017/03/24 の WordBench 福岡での資料です。

Takayuki Miyauchi

March 27, 2017
Tweet

Transcript

  1. $ curl http://wp-api.dev/wp-json/wp/v2/posts | jq . [ { "id": 1,

    "date": "2016-05-17T07:28:32", "date_gmt": "2016-05-17T07:28:32", "guid": { "rendered": "http://wp-api.dev/?p=1" }, "modified": "2016-05-17T07:28:32", "modified_gmt": "2016-05-17T07:28:32", "slug": "hello-world", "type": "post",