{"id":42,"date":"2024-02-03T11:34:18","date_gmt":"2024-02-03T10:34:18","guid":{"rendered":"https:\/\/solarxbike.se\/labbet\/code-snippets\/?page_id=42"},"modified":"2024-02-08T10:38:41","modified_gmt":"2024-02-08T09:38:41","slug":"tutorial-using-the-rest-api","status":"publish","type":"page","link":"https:\/\/solarxbike.se\/labbet\/code-snippets\/tutorials\/tutorial-using-the-rest-api\/","title":{"rendered":"Tutorial: Using the rest API"},"content":{"rendered":"<p>K\u00e4lla: <a href=\"https:\/\/learn.wordpress.org\/tutorial\/using-the-wordpress-rest-api\/\">learn.wordpress<\/a> |<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\"><\/td>\n<td style=\"width: 50%;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" title=\"Using the WordPress REST API\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/XeNm_gxGuY8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"ZUiq0Zo6CL\"><p><a href=\"https:\/\/learn.wordpress.org\/tutorial\/using-the-wordpress-rest-api\/\">Using the WordPress REST API<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Using the WordPress REST API&#8221; &#8212; Learn WordPress\" src=\"https:\/\/learn.wordpress.org\/tutorial\/using-the-wordpress-rest-api\/embed\/#?secret=Zstmrmk9yd#?secret=ZUiq0Zo6CL\" data-secret=\"ZUiq0Zo6CL\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>K\u00e4lla: learn.wordpress | &nbsp; &nbsp; Using the WordPress REST API &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":123,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-42","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/pages\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":1,"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/pages\/42\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/pages\/42\/revisions\/43"}],"up":[{"embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/pages\/123"}],"wp:attachment":[{"href":"https:\/\/solarxbike.se\/labbet\/code-snippets\/wp-json\/wp\/v2\/media?parent=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}