Skip to content

Fix replicate activate cmd #286

@krystian-panek-vmltech

Description

@krystian-panek-vmltech

AEM SDK

/bin/replicate.json returns JSON instead of HTML. I don't know why previously it was returning HTML (that's why it was implemented in that way)

curl -u admin:admin -X POST -F path="/content/acme/us/en/home" -F cmd="activate" http://localhost:4502/bin/replicate.json
{
  "path": ["/content/acme/us/en/home"],"artifactId":[],
  "status.message": "Replication started for /content/us/en/home\n",
  "status.code": 200
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions