On this page

    1. Home
    2. API
    3. API Reference
    4. Hello

    Hello

    This document describes the hello endpoint, which provides a simple network greeting and returns useful information for network discovery.


    GET /hello

    Simple hello to the network that returns some useful information. This can be used for discovery.

    Request

    GET /hello

    Headers:

    {
      "Host": "api.bringyour.com",
      "Accept": "*/*"
    }

    Response

    200 Success

    Status: 200 OK

    Content-Type: application/json

    A successful response returns a greeting including the client's IP address and can be used for network discovery.

    {
      "client_address": "text"
    }
    FieldTypeDescription
    client_addressstringThe IP address of the client making the request.

    Example

    HTTP Request

    GET /hello HTTP/1.1
    Host: api.bringyour.com
    Accept: */*

    Successful HTTP Response

    {
      "client_address": "text"
    }


    Powered by Sudoc v2.5.0
    Hide table of contents