Artboard
Miscellaneous

Verify that this server can reach another server

Check the network.

Otto servers communicate over http. There must be valid 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.

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

Query Parameters

otherServerUrl*string

The url of the other server

Formaturl
isLegacy?string

is the other server running Otto 3

Default"0"
Value in"0" | "1"

Response Body

application/json

application/json

curl -X GET "https://your.server.net/otto/api/can-reach-other-server?otherServerUrl=string"
{
  "response": {
    "ok": true,
    "msg": "success"
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}