RESTful api generator for hack