modify curl post