remove newline of curl request response