#!/bin/bash result=$(curl -s http://localhost:8080/hello/) if [[ "$result" =~ "Hello World" ]]; then exit 0 else exit 1 fi