some examples using curl