2 health_Check_http_code=$(curl -k --max-time 5 -o /dev/null -w '%{http_code}' -X GET --header "Accept: application/json" "<%= @protocol %>://127.0.0.1:<%= @port %>/onboarding-api/v1.0/healthcheck")
3 if [[ "$health_Check_http_code" -eq 200 ]]; then
6 exit $health_Check_http_code