Add a JSON action that accesses the endpoint.
Browserify jQuery and Handlebars, and client side test.
Add one client side test.
Use post and include JSON data in the body.
Fix server side test for the API endpoint accordingly.