Correct curl parameters in client script