Files
Nathan Woodburn 6c09923281
All checks were successful
Build Docker / BuildImage (push) Successful in 52s
feat: Add curl error page and new tests
2025-10-28 15:04:21 +11:00

28 lines
579 B
Plaintext

GET http://127.0.0.1:5000/api/v1/
HTTP 200
GET http://127.0.0.1:5000/api/v1/help
HTTP 200
GET http://127.0.0.1:5000/api/v1/ip
HTTP 200
[Asserts]
jsonpath "$.ip" == "127.0.0.1"
GET http://127.0.0.1:5000/api/v1/time
HTTP 200
GET http://127.0.0.1:5000/api/v1/timezone
HTTP 200
[Asserts]
jsonpath "$.timezone" >= 10
jsonpath "$.timezone" <= 12
GET http://127.0.0.1:5000/api/v1/message
HTTP 200
GET http://127.0.0.1:5000/api/v1/project
HTTP 200
GET http://127.0.0.1:5000/api/v1/tools
HTTP 200
[Asserts]
jsonpath "$.tools" count > 5
GET http://127.0.0.1:5000/api/v1/playing
HTTP 200