J.P. Morgan Interview Question

What is the design for restful api?