API PUT request help

matt5834
Community Novice

Hi -

I need to make an HTTP (XHR) PUT request that targets a particular module on my self hosted canvas install and mark it done. 

I see this in the API: 

PUT /api/v1/courses/:course_id/modules/:module_id/items/:id/done

Could someone show how I might write this using AJAX? 


Thank you!

Matt

0 Likes