Hi!
I would like to know if ScriptRemoteConnector.post can handle a multipart/form-data post? Ie. I am interested if the body can be written in url encoded way, or do I have to create a multipart/form-data encoded body?
I am trying to do something like this:
...but when I try to post this to Alfresco, the formdata root object is empty.Code:var body = "description=description"; var type= "multipart/form-data"; model.status = connector.post("/cms/upload", body, type);
Any ideas?
Thanks.
Primoz


Reply With Quote