figure out correctly the content-type for request.restful. Thanks @mcabo