curl cmd and outputs which resuls