2022-08-11 21:45:55 +03:00
|
|
|
GET https://localhost:8001/hello
|
|
|
|
[Options]
|
|
|
|
insecure: true
|
|
|
|
|
2022-11-11 16:25:00 +03:00
|
|
|
HTTP 200
|
2022-12-02 22:50:27 +03:00
|
|
|
`Hello World!`
|
2022-08-11 21:45:55 +03:00
|
|
|
|
|
|
|
|
|
|
|
GET https://localhost:8001/hello
|
|
|
|
[Options]
|
|
|
|
# Test that options overridden is possible, last is the winner.
|
|
|
|
insecure: false
|
|
|
|
insecure: true
|
|
|
|
|
2022-11-11 16:25:00 +03:00
|
|
|
HTTP 200
|
2022-12-02 22:50:27 +03:00
|
|
|
`Hello World!`
|
2022-08-12 18:14:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
GET https://localhost:8001/hello
|
|
|
|
[Options]
|
2022-12-11 13:57:19 +03:00
|
|
|
cacert: ssl/server/cert.selfsigned.pem # with a custom certificate
|
2022-08-12 18:14:49 +03:00
|
|
|
|
2022-11-11 16:25:00 +03:00
|
|
|
HTTP 200
|
2022-12-02 22:50:27 +03:00
|
|
|
`Hello World!`
|