Capgemini interview question

Difference between pathParam and QueryParam