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?