Get a greeting
Path parameters
-
Name to greet
Maximum length is
30
.
GET /greeting/{name}
curl \
-X GET http://api.example.com/greeting/world
Response examples (200)
{
"$schema": "https://example.com",
"message": "Hello, world!"
}
Response examples (default)
{
"$schema": "https://example.com",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}