22 lines
397 B
Python
22 lines
397 B
Python
from flask import request, redirect, Response, abort
|
|
import urllib.parse
|
|
import json
|
|
|
|
|
|
class Test():
|
|
endpoints = ["/test"]
|
|
endpoint_name = "test"
|
|
endpoint_methods = ["GET", "POST"]
|
|
|
|
def __init__(self, fhdhr):
|
|
self.fhdhr = fhdhr
|
|
|
|
def __call__(self, *args):
|
|
return self.get(*args)
|
|
|
|
def get(self, *args):
|
|
|
|
print("here I am ")
|
|
|
|
return "Success"
|