add individual /[method] endpoints that take in the thrift json