mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-07-06 11:17:15 -06:00
feat(testhttp): testing done python is faster for simple http get requests with only 1 endpoint
This commit is contained in:
@ -7,8 +7,11 @@ from django.http import HttpResponse
|
||||
|
||||
# Function to generate the response
|
||||
def send_funct():
|
||||
to_send = {
|
||||
"body": "Hello this is a test"
|
||||
ymlschedule = {"message": False}
|
||||
to_send = {
|
||||
"statusCode": 200,
|
||||
"isBase64ENcoded": "false",
|
||||
"body": json.dumps(ymlschedule)
|
||||
}
|
||||
return json.dumps(to_send)
|
||||
|
||||
|
Reference in New Issue
Block a user