{"id":632,"date":"2020-05-13T16:03:50","date_gmt":"2020-05-13T20:03:50","guid":{"rendered":"https:\/\/2020.kent.wordcamp.org\/?post_type=wcb_session&#038;p=632"},"modified":"2020-05-13T16:03:50","modified_gmt":"2020-05-13T20:03:50","slug":"wordpress-rest-api-with-ajax-forms-and-pages","status":"publish","type":"wcb_session","link":"https:\/\/kent.wordcamp.org\/2020\/session\/wordpress-rest-api-with-ajax-forms-and-pages\/","title":{"rendered":"WordPress REST API with AJAX Forms and Pages"},"content":{"rendered":"\n<p>What is the WP REST API and how can I use it to  make forms and pages that don&#8217;t need to do be reloaded?<\/p>\n\n\n\n<p>In this talk, we will look at what the WP REST API is, how to modify existing &#8216;endpoint&#8217;s as well as creating our own custom endpoints.<\/p>\n\n\n\n<p>We will also make a small WP REST API  site that carries out GET and POST requests for forms and pages as well as use the WP-Nonce security mechanism.<\/p>\n\n\n\n<p>All code files will be available so that you can start to use the WP REST API right away!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is the WP REST API and how can I use it to make forms and pages that don&#8217;t need to do be reloaded? In this talk, we will look at what the WP REST API is, how to modify &hellip; <a href=\"https:\/\/kent.wordcamp.org\/2020\/session\/wordpress-rest-api-with-ajax-forms-and-pages\/\">Continue reading <span class=\"screen-reader-text\">WordPress REST API with AJAX Forms and Pages<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":15819979,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1590944400,"_wcpt_session_duration":2700,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[631],"footnotes":""},"session_track":[24],"session_category":[],"class_list":["post-632","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-freelance-business-developer-track"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"May 31, 2020","time":"1:00 pm"},"session_speakers":[{"id":"631","slug":"craig-west","name":"Craig West","link":"https:\/\/kent.wordcamp.org\/2020\/speaker\/craig-west\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions\/632\/revisions"}],"predecessor-version":[{"id":1120,"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/sessions\/632\/revisions\/1120"}],"speakers":[{"embeddable":true,"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/speakers\/631"}],"author":[{"embeddable":true,"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wporg\/v1\/users\/craigwestwpbtn"}],"wp:attachment":[{"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/media?parent=632"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/session_track?post=632"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/kent.wordcamp.org\/2020\/wp-json\/wp\/v2\/session_category?post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}