Hello World API
Returns a greeting message. Optionally pass a name to personalise the response. No authentication required.
| Property | Value |
|---|---|
| Method | GET |
| Base URL | https://labs.lowcademy.com/apis/ |
| File | hello.php |
| Authentication | None |
| Request Body | Not required |
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | Optional | Name to include in the greeting. Defaults to World if not provided. |
Basic call (no name)
curl https://labs.lowcademy.com/apis/helloWith name parameter
curl https://labs.lowcademy.com/apis/hello?name=AnkitJavaScript (fetch)
const res = await fetch('https://labs.lowcademy.com/apis/hello?name=Ankit'); const data = await res.json(); console.log(data.message); // "Hello, Ankit!"
OutSystems — URL of the GET method
// In Consume REST API → GET method → URL: https://labs.lowcademy.com/apis/hello // Add "name" as an Input Parameter mapped to query string
| Field | Type | Description |
|---|---|---|
| success | Boolean | Always true on success |
| message | String | The greeting — e.g. "Hello, World!" |
| timestamp | String | Server time when the response was generated. Format: YYYY-MM-DD HH:MM:SS |
{
"success" : true,
"message" : "Hello, Ankit!",
"timestamp" : "2026-07-12 10:30:01"
}{"success":false,"error":"Method Not Allowed. Use GET."}