I can insert an image when I create a new page but when I try to add an image into an existing page I end up with an image link but no image displayed.
This is the request:
Content-Disposition: form-data; name="Commands"
{
'Target':'body',
'Action' : 'append',
'Content' : '<div data-id=testdiv1><div>Chat message with mike</div></div>'
},
{
'Target':'#testdiv1',
'Action' : 'insert',
'Content' : '<img src="image1"/>'
}
Content-Type: image/png
Content-Disposition: form-data; name="image1"
imagedata....
Hopefully someone can see what I'm doing wrong or point me at a sample (preferably UWP based but willing to look at anything).
Thanks for the help.