J.P. Morgan interview question

What is the design for restful api?