1

CLOUD でインスタンスを作成しましたが、POST を実行しようとすると、データが VM に送信されません。使用しているデータに何か問題がありますか?

  • Firefox で Rest Client を使用しています。
  • これはコードの本体です (Json) :

    {
    "contextElements": [
        {
            "type": "Room",
            "isPattern": "false",
            "id": "Room1",
            "attributes": [
            {
                "name": "temperature",
                "type": "float",
                "value": "23"
            },
            {
                "name": "pressure",
                "type": "integer",
                "value": "720"
            }
            ]
        }
    ],
    "updateAction": "APPEND"
    } 
    

URLhttp://10.0.22x.6x:1026/NGSI10/updateContextとヘッダーは次のとおりです。

  • コンテンツ タイプ: アプリケーション/json
  • 受け入れる: アプリケーション/json
4

1 に答える 1