Enonic version: 7.1.0
OS: MacOS, RHEL7
I’m looking for a way to deploy an application to XP7 from a jar file.
With XP6 you had the endpoint “/admin/rest/application/install” to, and I assume https://developer.enonic.com/docs/xp/stable/runtime/management#install_from_file is the new version of that. The documentation is a bit thin though, and there are no examples.
I have a hard time uploading a file, the closest I come is this Curl command, and it responds that it cannot consume content type.
curl -i -X POST http://localhost:4848/app/install --data @mimir-1.0.0-SNAPSHOT.jar --user gle:hunter2 -v