curl post request with json body