Question 7
What happens if you don’t return a proper dictionary/JSON in Flask-Restful API methods?
Returns None
Raises an error that the value is not serializable
Converts into plain text
Automatically converts into JSON format
What happens if you don’t return a proper dictionary/JSON in Flask-Restful API methods?
Returns None
Raises an error that the value is not serializable
Converts into plain text
Automatically converts into JSON format
Correct answer
Raises an error that the value is not serializable
Question 7 of 16 in the IIT Madras BS Modern Application Development I (MAD 1) Quiz 2 paper sat on 23 Nov 2025, in the September 2025 term (IIT M DIPLOMA AN EXAM QDD2 23 Nov 2025 NEW). It carries 2 marks.