Artboard
Miscellaneous

Verify that this server can reach another 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.

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

Query Parameters

otherServerUrl*string

The url of the other server

Formaturi

Response Body

application/json

application/json

curl -X GET "https://your.server.net/otto/api/can-reach-other-server?otherServerUrl=https%3A%2F%2Fmy.developer.server.com"
{
  "response": {},
  "messages": [
    {
      "code": 0,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}