AnsweredAssumed Answered

Have you succeeded in using the API to create assignments?

Question asked by P.A.Robinson@hull.ac.uk on Oct 16, 2015
Latest reply on Feb 3, 2017 by Kurt Faulknerloser

I've been using the canvas API for a variety of things, and generally it works very well.  For the life of me, though, I cannot seem to create a new assignment using it.  Has anyone else managed to do this?  All I ever get in response is "400 Bad request", which doesn't make debugging easy!  I'm sending JSON data via a POST request and setting the Content-Type header of the request to 'application/json', but nothing works.  I can retrieve existing assignments fine.

 

Does anybody know if the API is broken?  Has anyone succeeded in creating an assignment programmatically using the API?

Outcomes