---
title: Save System Config Parameter
slug: single-connect-api-3-2-0/save-system-config-parameter
description: This document showcases a code example utilizing the powerful curl command to initiate a POST request towards a specified URL. The example features detailed guidance on including headers to efficiently handle JSON data transmission while specifying the re
docTags: 
createdAt: 2022-11-10T14:24:52.000Z
---

{
  "id": "9cnIZqmSxMVM50iYo7yVg",
  "data": {
    "url": "{{url}}/aioc-rest-web/rest/systemConfiguration/saveSysConfParameter",
    "method": "POST",
    "request": {
      "pathParameters": [],
      "queryParameters": [],
      "headerParameters": [
        {
          "name": "Content-Type",
          "type": "string",
          "example": "application/json",
          "description": ""
        },
        {
          "name": "X-XSRF-TOKEN",
          "type": "string",
          "example": "{{csrftoken}}",
          "description": ""
        }
      ],
      "bodyDataParameters": [
        {
          "name": "body",
          "type": "string",
          "example": "{\r\n    \"parameterName\": \"sql.proxy.bind.port.range\",\r\n    \"parameterValue\": \"1200-1300\",\r\n    \"encrypted\": false\r\n}",
          "description": ""
        }
      ],
      "formDataParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "contentType": "application/json",
    "description": "This method enables user to save a property required for the system.\r\n\r\n",
    "examples": {
      "languages": [
        {
          "id": "7bP0UNGnp9jniHUJpuFjp",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url {{url}}/aioc-rest-web/rest/systemConfiguration/saveSysConfParameter \\\n     --header 'accept: application/json'"
        },
        {
          "id": "N2l1WyAFCCphXJTMF7dxn",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/systemConfiguration/saveSysConfParameter\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "H6j3ptgDQk6EiRhV9mpIV",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/systemConfiguration/saveSysConfParameter\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "CiUOwcN3P_nJos7Ev00L8",
          "language": "python",
          "label": "Python",
          "code": "import requests\n\nurl = \"{{url}}/aioc-rest-web/rest/systemConfiguration/saveSysConfParameter\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "7bP0UNGnp9jniHUJpuFjp"
    },
    "results": {
      "languages": [
        {
          "id": "aZ_pG0s6kr5rZXzLFiMeA",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "aZ_pG0s6kr5rZXzLFiMeA"
    }
  },
  "type": "api-oas-v2",
  "children": [
    {
      "text": ""
    }
  ]
}