---
title: Get Connector Node
slug: single-connect-api-3-2-0/get-connector-node
description: Learn how to use the `curl` command to effortlessly make a GET request to a targeted URL endpoint in this code example. Explore how to include headers for seamlessly accepting and transmitting JSON data. Enhance your programming skills with this insightfu
docTags: 
createdAt: 2022-11-10T14:24:52.000Z
---

{
  "id": "RqPDJT7y83oRspvPXgL9_",
  "data": {
    "url": "{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getTheNode/{{id}}",
    "method": "GET",
    "request": {
      "pathParameters": [],
      "queryParameters": [],
      "headerParameters": [
        {
          "name": "X-XSRF-TOKEN",
          "type": "string",
          "example": "{{csrftoken}}",
          "description": ""
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "contentType": "application/json",
    "description": "",
    "examples": {
      "languages": [
        {
          "id": "UN_sV1Y8Cesmf0sW-kVJd",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url {{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getTheNode/{{id}} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "18kkxf3twWRcbLGMV1kal",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getTheNode/{{id}}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "i9Ft4hOc1VGqPqaxSlL55",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getTheNode/{{id}}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "6KJ8IgpDZpOG27SMALbju",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getTheNode/{{id}}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "UN_sV1Y8Cesmf0sW-kVJd"
    },
    "results": {
      "languages": [
        {
          "id": "CNpoOxn86kiSH87MNgKdd",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "CNpoOxn86kiSH87MNgKdd"
    }
  },
  "type": "api-oas-v2",
  "children": [
    {
      "text": ""
    }
  ]
}