got restful working