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"