Reference, examples: replaced HTTP requests with cURL calls