Report whether the server is accepting requests.
GET
/health
const url = 'http://127.0.0.1:8080/health';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8080/healthResponses
Section titled “Responses”The server is accepting requests.
Media typetext/plain
string
Example
okThe method is not supported for this route.
Media typeapplication/problem+json
object
type
required
string format: uri-reference
title
required
string
status
required
integer
detail
required
string
instance
string format: uri-reference
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Headers
Section titled “Headers”Allow
string