Add comments.
Change the default request format to json.
Set Content-Type header when sending a service request.
Change the default format in server to JSON.
Fix a method name.