I tried attaching an image as attachment to existing wiki page using RestAPI.
Followed this link http://www-10.lotus.com/ldd/appdevwiki.nsf/xpAPIViewer.xsp?lookupName=API+Reference#action=openDocument&res_title=Adding_an_attachment_to_a_wiki_page&content=apicontent
I am able to create the attachment to the wiki but it is getting corrupted when opened.Am i doing any thing wrong i sent SLug header as test.png
and nonce as 1aae1966-9baf-416b-bb4c-24fe6ca7c298
and content as some binary data
Any sample examples to attach an image as attachment in WIKI page.
Thanks in advance