def createNewToDoItem():
    item = TodoList(**request.get_json())
    toDoList.append(item.toJson2())
    return Response('{"message":"item added success"}',
                    status=201,
                    mimetype='application/json')