Send HTTP request correctly