print curl response