minor changes
This commit is contained in:
10
cli.py
10
cli.py
@@ -2,8 +2,11 @@
|
||||
# Banking System CLI Utility
|
||||
|
||||
import requests
|
||||
import argparse
|
||||
import sys
|
||||
from config import CONFIG
|
||||
|
||||
SERVER_URL = "http://127.0.0.1:5000"
|
||||
SERVER_URL = "http://127.0.0.1:81"
|
||||
|
||||
def main():
|
||||
username = "john"
|
||||
@@ -16,4 +19,7 @@ def main():
|
||||
response = requests.get( f"{SERVER_URL}/logout")
|
||||
print(f"{response}, {response.content}")
|
||||
print(f"Closing")
|
||||
main()
|
||||
main()
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit( main() )
|
||||
Reference in New Issue
Block a user