We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0a469 commit a3b6cbbCopy full SHA for a3b6cbb
src/arguments/api_test.py
@@ -11,18 +11,13 @@ def get_request(cls):
11
request_headers = cls.default_headers
12
input_url = input('Enter URL: ')
13
input_headers = input('Enter Headers: ')
14
-
15
if input_url != '':
16
request_url = input_url
17
18
if input_headers != '':
19
try:
20
request_headers = json.loads(input_headers)
21
- # If Exception Occurs while Parsing Headers Printing info
22
except Exception:
23
print("Failed to parse Input Headers")
24
25
26
# Check whether the request_url has an endpoint or not
27
has_endpoint = cls.__check_endpoint(request_url)
28
0 commit comments