Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix replicate activate cmd #286

Open
krystian-panek-vmltech opened this issue Feb 12, 2025 · 0 comments
Open

Fix replicate activate cmd #286

krystian-panek-vmltech opened this issue Feb 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@krystian-panek-vmltech
Copy link
Contributor

krystian-panek-vmltech commented Feb 12, 2025

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
}
@krystian-panek-vmltech krystian-panek-vmltech added the bug Something isn't working label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant