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