Adding request and response structures to handle the requisition.

master
Pedro de Oliveira Guedes 2022-01-31 09:02:35 -03:00
parent 9fe25d052e
commit fb782f3d34
1 changed files with 16 additions and 0 deletions

View File

@ -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"