curl formatting