Global Payments interview question

Difference between PUT and POST in rest API