From fb782f3d3430f3686ba7d2987b6dd81ccc0489cd Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Guedes Date: Mon, 31 Jan 2022 09:02:35 -0300 Subject: [PATCH] Adding request and response structures to handle the requisition. --- api/apiproxy/cli.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/api/apiproxy/cli.py b/api/apiproxy/cli.py index 8fa0cdd..19c0715 100644 --- a/api/apiproxy/cli.py +++ b/api/apiproxy/cli.py @@ -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"