---
title: "Test connection for data node"
method: POST
path: "/inlong/manager/api/node/testConnection"
tags: ["Data-Node-API"]
---

# Test connection for data node

`POST /inlong/manager/api/node/testConnection`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- DataNodeRequest
  - `description` string: Description of the data node
  - `displayName` string: Data node display name, just for display
  - `extParams` string: Extended params
  - `id` integer: Primary key
  - `inCharges` string: Name of responsible person, separated by commas
  - `name` string: Data node name
  - `token` string: Data node token if needed
  - `type` string: Data node type, including MYSQL, HIVE, KAFKA, ES, etc.
  - `url` string: Data node URL
  - `username` string: Data node username
  - `version` integer: Version number

## Response `200`

OK

- ResponseBoolean
  - `data` boolean
  - `errMsg` string
  - `success` boolean

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/revisions/41c687f48683?raw)
