This method starts a daemon on a specified host and port.
HTTP Request
- Supported Method: POST
/api/v1/server/start - Input Field
- Parameter name: serverRequest
Parameter Type Description runtimeServerHost string The name of the runtime server. For example, Localhost. runtimeServerPort integer This port number should match whatever listener port you selected when installing the Apply engine. For example, 2626.
- Parameter name: serverRequest
- Parameter content type - Both request body data and response data are formatted as JSON. Content type for responses will always be
application/json.
Code Example
You can use cURL to execute the call. For example,
curl 'http://localhost:8026/api/v1/server/start'
-H "Content-Type: application/json"
-X POST
-d '
{
"runtimeServerHost": "localhost",
"runtimeServerPort": 2626
}Postman works the same way. Use Postman to query the end point with the Json payload list below. For example,
{
"runtimeServerHost": "localhost",
"runtimeServerPort": 2626
}
"url": http://localhost:8026/api/v1/server/startResponse Fields
Code 200 - OK
| Response Element | Type | Description |
| createdAt | string | |
| id | string | |
| message | string | |
| result | string | |
| success | boolean | |
| version | string |