AnsweredAssumed Answered

Edit an assignment's submission_types

Question asked by Johanna Hardner on Oct 9, 2017
Latest reply on Oct 10, 2017 by James Jones

So I'm trying to edit an assignment's submission_types using this documentation: Assignments - Canvas LMS REST API Documentation 

I have it working for when you need to set it to one thing, i.e. "online_quiz" by using this syntax for the payload:



However, when I try to use multiple arguments as the API says is possible I can't get the call to work. Syntax:

{'assignment[submission_types][]':["online_text_entry", "online_url"]}

Comes back with a 400 error.


Any help would be appreciated.