diff --git a/go-api/fail b/go-api/fail index 3364b29..40e78a5 100755 --- a/go-api/fail +++ b/go-api/fail @@ -8,5 +8,6 @@ STATUS_CODE="${1:-500}" : "${API_PORT:=8000}" -curl --silent --show-error --verbose "http://localhost:$API_PORT" \ +curl --silent --show-error --verbose \ + "http://localhost:$API_PORT" \ --header "force-fail: $STATUS_CODE" diff --git a/go-api/success b/go-api/success index a9ddcca..27ffadd 100755 --- a/go-api/success +++ b/go-api/success @@ -6,4 +6,5 @@ source .env : "${API_PORT:=8000}" -curl --silent --show-error --verbose "http://localhost:$API_PORT" +curl --silent --show-error --verbose \ + "http://localhost:$API_PORT"