Thoughtworks interview question

Design a REST API and explain the usage of POST, PUT and PATCH methods. Which HttpMethod should be used in what operation related to CRUD.