1
我可以在創建新頁面時插入圖像,但是當我嘗試將圖像添加到現有頁面時,最終會出現圖像鏈接但未顯示圖像。通過REST API將圖像插入到現有的OneNote頁面不起作用
這是請求:
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....
希望有人能看到我在做什麼錯誤或者在樣品(最好UWP基礎,但願意看任何東西)指向我。
感謝您的幫助。
謝謝迪帕克,那工作。 – SpecWin
隨時爲未來的讀者提供答案。謝謝 – DipakBoyed