A Minimal REST Backbone Client Application
Most of the code is for creating the GUI.
The code for actually doing the REST request/response are in the form's submit callback and the function doRestRequest() and consists of only about 40 verbose lines of code.
This is an "extreme" example as this HTML document is not generated by WordPress.
WordPress's role in this application is entirely just as a REST server.
A more typical application would use WordPress to generate the header, sidebar and footer and use a REST Backbone client to dynamically generate the post content.
Toolset Types Custom Post Types:
Please Specify the REST Request:
The REST Request:
The REST Results: