Huh, well that's going to be much trickier then.

Would I set the RequestHeader, Content-Type to application/octet-stream?

So maybe this is beyond what can be answered here but getting the raw image
data in JavaScript seems difficult, especially as I only have the URL to the
image... base64 encoded data doesn't seem to count?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/create-attachment-with-Rest-API-tp7583867p7583869.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to