Edit code for a restful service.