Adding request and response structures to handle the requisition.
parent
9fe25d052e
commit
fb782f3d34
|
@ -16,6 +16,22 @@ class API_Proxy:
|
|||
|
||||
ep: str = ""
|
||||
|
||||
APIProxyRequest = {
|
||||
"Name": "",
|
||||
"Method": "",
|
||||
"Url": "",
|
||||
"Header": {"":""},
|
||||
"Body": "",
|
||||
"Readonly": False
|
||||
}
|
||||
|
||||
APIProxyResponse = {
|
||||
"Status": "",
|
||||
"StatusCode": 0,
|
||||
"Header": {"":""},
|
||||
"Body": ""
|
||||
}
|
||||
|
||||
def __init__ (self):
|
||||
self.ep = "https://localhost:8443"
|
||||
|
||||
|
|
Loading…
Reference in New Issue