16 lines
416 B
Python
16 lines
416 B
Python
|
|
from flask import Blueprint, request
|
||
|
|
|
||
|
|
blueprint = Blueprint("application", __name__)
|
||
|
|
|
||
|
|
@blueprint.route("/api/application/apply", methods=["POST"])
|
||
|
|
def process_application():
|
||
|
|
req = request.json
|
||
|
|
|
||
|
|
|
||
|
|
@blueprint.route("/api/application", methods=["PATCH"])
|
||
|
|
@blueprint.route("/api/application", methods=["OPTIONS"])
|
||
|
|
|
||
|
|
@blueprint.route("/api/application", methods=["GET"])
|
||
|
|
def authenticate_user():
|
||
|
|
req = request.json
|