Artboard
Miscellaneous

Verify that this server can reach another server

GET
/otto/api/can-reach-other-server

Check the network.

OttoFMS servers communicate over http. There must be valid a network path between them for them to communicate. This endpoint can be used to verify that the network path is valid, that is, that this server can talk to the other server.

Query Parameters

otherServerUrl*string

The url of the other server

Formaturi

Response Body

GET /otto/api/can-reach-other-server Positive response

application/json
  1. response
messages*array<>
response*
Example Request
curl -X GET 'https://your.server.net/otto/api/can-reach-other-server?otherServerUrl=https%3A%2F%2Fmy.developer.server.com'
Example Response
{  "messages": [    {      "code": 0,      "text": "ok"    }  ],  "response": {}}

Was this page helpful?