Examples of how to make requests to the digitalocean API in PHP