Morgan Stanley interview question

Compose an SQL query, REST principles, HTTP headers