initial commit
This commit is contained in:
2
svm_prefilter_service/views/__init__.py
Normal file
2
svm_prefilter_service/views/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env python3
|
||||
from .filter_view import FilterView
|
||||
13
svm_prefilter_service/views/filter_view.py
Normal file
13
svm_prefilter_service/views/filter_view.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
from flask import jsonify, request, abort, current_app, Response
|
||||
from flask_classful import FlaskView
|
||||
from utils import json_required
|
||||
|
||||
|
||||
class FilterView(FlaskView):
|
||||
|
||||
@json_required
|
||||
def post(self):
|
||||
data = request.json
|
||||
|
||||
return Response(status=201)
|
||||
Reference in New Issue
Block a user