[ARCHIVED] Posting HTML for Question using canvas API, html not being parsed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2021
02:49 PM
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
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.