fixed error in cURL example