added another option (curl) to send request