Phorest Salon Software interview question

Consuming an API with GET and POST requests