REST client implemented using cURL