Set up preview pane to prettify JSON. Added click handler to Send button to submit the request.