Hello everyone, I'm searching for an example of a ...
# ask-for-help
a
Hello everyone, I'm searching for an example of a BentoML service, such as ControlNet, that includes an HTTP GET endpoint demonstration. I noticed in the documentation that the default method mentioned is POST.
j
Hi Arnon, I tried searching about this in the past and didn't find anything. If it helps you, you can use "readyz," "livez," and "healthz" as get routes.
a
Thx @Jamisson Jader for the reply: I've also looked into Bentoml service using HTTP GET requests but couldn't find any examples. This is what I've inquired about here: Could you provide an example of a BentoML service utilizing HTTP GET, with 'readyz,' 'livez,' or 'health'?
j
Sure, BentoML creates these routes by default, so you can use them with localhost:3000/healthz, For example. Here is an example with service doc and all possible routes. https://main.inference.madewithintent.ai/#/Service%20APIs