cleaned up webhook code- file_get_contents->cURL