# /api/caldavserver

## GET /api/info

Get the CalDAV server informations.

**Request Headers:**

- Accept: application/json

**Response Headers:**

- Content-Length: Document size
- Content-Type: application/json

**Response JSON Object:**

- url: the url

**Status Codes:**

- 200 Ok.
- 401 Unauthorized. The current request does not contains any valid data to be used for authentication.
- 500 Internal server error.

**Request:**

    GET /api/info
    Accept: application/json
    Host: localhost:8080

**Response:**

    HTTP/1.1 200 Ok
    {
      "url": "http://localhost:80"
    }
