wait4x http
Wait for an HTTP(S) endpoint to become available with flexible validation options. More information: https://github.com/wait4x/wait4x.
- Wait for an HTTP endpoint to respond with a specific status code:
wait4x http --expect-status-code
- Wait for a response body to match a
regexpattern:
wait4x http --expect-body-regex ''
- Wait for a specific JSON field to exist using GJSON path syntax:
wait4x http --expect-body-json ""
- Wait for a response with custom request headers:
wait4x http --request-header ""
- Wait for a specific response header to match a value:
wait4x http --expect-header ""
- Wait using a TLS client certificate:
wait4x http --cert-file --key-file
- Wait with a custom timeout and inverted check (wait for endpoint to go down):
wait4x http --expect-status-code --invert-check --timeout
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
