• 레퍼런스
  • 자습서
  • /config/botport

    봇 HTTP 서버 포트를 업데이트합니다.

    정보

    포트 변경 사항은 Iris 재시작 후에 적용됩니다.

    엔드포인트
    POST/config/botport
    Content-Type

    application/json

    요청

    본문

    {
      "port": [NEW_PORT_NUMBER]
    }
    portint

    업데이트할 HTTP 서버 포트입니다.

    예제

    curl -d '{"port": 3001}' \
      -H "Content-Type: application/json" \
      -X POST http://[YOUR_DEVICE_IP]:[bot_http_port]/config/botport