mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-07-06 03:07:16 -06:00
feat(Actions): added auto linting to main and pull requests fixed some typos
This commit is contained in:
17
Other Items/testcontainer.py
Normal file
17
Other Items/testcontainer.py
Normal file
@ -0,0 +1,17 @@
|
||||
import requests
|
||||
import json
|
||||
|
||||
if __name__ == "__main__":
|
||||
getres = requests.get("http://bajacloud.ddnsking.com:43443/getAppointments")
|
||||
print(getres)
|
||||
print(json.dumps(json.loads(getres.text), indent=4))
|
||||
# example of a request
|
||||
# postdata = {
|
||||
# "intervieweeName": "Brock",
|
||||
# "date": "2024-09-16",
|
||||
# "startTime": "11:00:00",
|
||||
# "intervieweeEmail": "darkicewolf50@gmail.com"
|
||||
# }
|
||||
# res = requests.post("http://bajacloud.ddnsking.com:43443/SelectInterview", json.dumps(postdata))
|
||||
# print(res)
|
||||
# print(res.text)
|
Reference in New Issue
Block a user