Hello go4alfresco.
I got same issue about uploading file. Here i'm trying to share what i got, and i hope everyone correct me if i wrong.
Started on Alfresco 4.2 above in the release note has announced this new api service. THe difference between new api and the old one, beside the endpoint, the data format has changed too. Previous version used xml atom data and now use json data. Because of that, the parameter to upload has changed too but i dont found any documentation about how to write the parameter. Eventhough i've some threads, but there is no complete sample.
Is there something i missed? Please provide a sample how to write parameter json data completely.