Initial commit
This commit is contained in:
4
eveai_app/api/__init__.py
Normal file
4
eveai_app/api/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# from flask import Blueprint, request
|
||||
#
|
||||
# public_api_bp = Blueprint("public", __name__, url_prefix="/api/v1")
|
||||
# tenant_api_bp = Blueprint("tenant", __name__, url_prefix="/api/v1/tenant")
|
||||
7
eveai_app/api/auth.py
Normal file
7
eveai_app/api/auth.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from flask import request
|
||||
from flask.views import MethodView
|
||||
|
||||
class RegisterAPI(MethodView):
|
||||
def post(self):
|
||||
username = request.json['username']
|
||||
|
||||
Reference in New Issue
Block a user