Fix HTTP CURL

Update cURL Function