Posting HTML for Question using canvas API, html not being parsed

mgibson2
Community Explorer

Hi, Im trying to add a question with HTML content to a quiz using canvas api - see below for full call

question type is essay question - and the question text is HTML. when i view this in canvas i see all the HTML formatting. I see in the canvas UI there is an "HTML editor" option, that allows you to enter html formatting and see proper html output (not all the formatting). I need to do likewise in my API call. In the API doc I dont see any flag to indicate the content is HTML. what am i missing here? thanks for help

(api doc for create question : https://canvas.instructure.com/doc/api/quiz_questions.html#method.quizzes/quiz_questions.create )

 

call im trying to make with url encoded html in question text

 
Labels (1)
0 Likes