Pergunta de entrevista da empresa Connected

Design REST API for the clothing store. What kinds of commands? What HTTP method? What url? What about filtering (i.e show only pants)?