I have a requirement to access the custom replication agent(which will
be created to publish out content until preview environment) through
curl command.I tried for direct activation(default publish replication
agent) with below command String[] command1 = { "curl", "--insecure",
"-u", username + ":" + password, "-X", "POST", "-F", "path=" +
pathForReplication, "-F", "cmd" + "=" + "activate", url };
executeCommand(command1); System.out.println(command1.toString());
Requirement: Manually we need ...