Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 446 Bytes

File metadata and controls

24 lines (18 loc) · 446 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const attachmentBase = {
  '@odata.type': '#microsoft.graph.taskFileAttachment',
  name: 'smile',
  contentBytes: 'a0b1c76de9f7=',
  contentType: 'image/gif'
};

await client.api('/me/todo/lists/AAMkpsDRVK=/tasks/AAKdfjhgsjhgJ=/attachments')
	.version('beta')
	.post(attachmentBase);