I am a Java developer looking to call to Sharepoint's REST API (ListData.svc) to manage documents. I need to list and search documents (there is ample help on that topic), but I also will need to retrieve the actual document and insert the document.
I get that inserting would be with a POST request, but other than that, the help I find online has been weak on detail. Especially since most examples are in .Net.
So how would i go about submitting a document to be stored in sharepoint? Would I just make up a URL in the collection like: ListData.svc/Document/NewDocumentName? And where would the document need to be? I assume part of the request body,
but how so?