From 6a5c2c61729d33d24ba87ddb288ecf9ce4e4d54e Mon Sep 17 00:00:00 2001 From: showersky Date: Fri, 5 Aug 2022 22:22:53 +0200 Subject: [PATCH] adapt to the ngsild requests from iot-agent --- broker/restapisrv.go | 1 + 1 file changed, 1 insertion(+) diff --git a/broker/restapisrv.go b/broker/restapisrv.go index 5a39b096..718f9fd1 100644 --- a/broker/restapisrv.go +++ b/broker/restapisrv.go @@ -59,6 +59,7 @@ func (apisrv *RestApiSrv) Start(cfg *Config, broker *ThinBroker) { // update rest.Post("/ngsi-ld/v1/entityOperations/upsert", broker.NGSILD_UpdateContext), + rest.Post("/ngsi-ld/v1/entityOperations/upsert/", broker.NGSILD_UpdateContext), rest.Post("/ngsi-ld/v1/entities/", broker.NGSILD_CreateEntity), rest.Post("/ngsi-ld/v1/entities", broker.NGSILD_CreateEntity), rest.Delete("/ngsi-ld/v1/entities/#eid", broker.NGSILD_DeleteEntity),