Barclays Interview Question

Explain REST APIs and difference between PUT and POST