File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Examples/HelloWorldWithResources/Sources/resources Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 2121 example :
2222 - Examples/HelloWorldVapor
2323 - Examples/HelloWorldHummingbird
24+ - Examples/HelloWorldWithResources
2425 steps :
2526 - name : Checkout repository
2627 uses : actions/checkout@v4
5556
5657 - name : Check that the service is running
5758 run : |
58- curl -v localhost:8080 | grep "Hello World"
59+ # The curious combination of --verbose and --silent causes
60+ # curl to print the request and response (--verbose) but not
61+ # the transmission progress messages (--silent).
62+ #
63+ # --fail-with-body causes curl to exit with a nonzero exit code
64+ # if the HTTP response code is >= 400. Without this flag, curl
65+ # only returns a nonzero exit code if something went wrong while
66+ # connecting to the server - a successful HTTP transaction which
67+ # indicates a server error is still considered to be a successful
68+ # transaction from the client's point of view.
69+ curl --verbose --silent --output /dev/null --fail-with-body localhost:8080
You can’t perform that action at this time.
0 commit comments