To get a random hello message, make a GET request to the following URL:
GET /hello/api/:key
Replace :key
with a valid API key.
Response:
{
"Hello": "Hello, World!"
}
To generate a random API key, make a GET request to the following URL:
GET /hello/genkey
Response:
{
"apiKey": "your_generated_api_key"
}
Note: Replace "your-api-key" in the example usage section with the actual API key you've generated or obtained from the /hello/genkey route.
// Get a random hello message
{"Hello":"9. Good afternoon"}