AnsweredAssumed Answered

API PUT request help

Question asked by Matt McLean on Mar 18, 2017
Latest reply on Mar 22, 2017 by Tyler Weldon

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!