Example #1
0
 def post(self, courseId):
     args = self.reqparse.parse_args()
     return helpers.postItem(handle, "questions", models.question_fields, args, courseId), 201
Example #2
0
 def post(self):
     args = self.reqparse.parse_args()
     return helpers.postItem(handle, "users", models.user_fields, args), 201