it's curious what you'd be building where you think you can hit the reliability of curl with a bash script.

a script ten lines long perhaps?

health check, check that website/webapp returns 4xx and some known keyword

api, GET url, content-type aplication/json, parse json

you can even invert it and make a server