Hi guys,
I have a standalone server running:
java -jar oak-run-1.3.9.jar server
What's the current state of play for talking to it via http?
My objective is to add a binary file via http. Various things I tried:
1. oak-http: the examples in the README largely work, but there's no
example showing how to add binary content
2. HttpOperations wiki page GET /revisions/last gives a 404; POST
/binaries seems to expect Json
>http -v -a admin:admin POST http://localhost:8080/binaries "Content-Type:
application/binary" < foo.bar
POST /binaries HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: Basic YWRtaW46YWRtaW4=
Connection: keep-alive
Content-Length: 142893
Content-Type: application/binary
Host: localhost:8080
User-Agent: HTTPie/0.9.2
:
HTTP/1.1 500 Unexpected character ('P' (code 80)): expected a valid value
(number, String, array, object, 'true', 'false' or 'null') at [Source:
org.eclipse.jetty.server.HttpInput@7e46122a; line: 1, column: 2]
3. webdav put: creates node structure, but binary content seems to be awol
4. sling: i'd prefer to avoid adding extra dependencies...
5. cmis: not supported, right?
thanks for