I have created a simple endpoint in Helidon:
@GET
@Path("/sampleString")
@Produces(MediaType.APPLICATION_JSON)
public Message getSampleString() {
return "{'Sample':'String'}";
}
The code complies and runs. But when I call:
curl -i http://localhost:8080/sampleString
I receive:
No handler found for path: /sampleString
What am I missing?