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

    메시지 전달을 위한 웹 서버 엔드포인트를 업데이트합니다.

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

    application/json

    요청

    본문

    {
      "endpoint": "[YOUR_WEB_SERVER_URL]"
    }
    endpointstring

    업데이트할 웹 서버 엔드포인트입니다.

    예제

    curl -d '{"endpoint": "http://192.168.1.100:5000/new_messages"}' \
      -H "Content-Type: application/json" \
      -X POST http://[YOUR_DEVICE_IP]:[bot_http_port]/config/endpoint