Update JavaScript API sampler to support POST, e.g. add instructions.
Add templates for other node instruction API calls.