Skip to content

Commit 9fefa42

Browse files
committed
Correct registration
1 parent 6aecfdf commit 9fefa42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

import-data

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/entityOper
326326
echo -e "Registering Farmer and Devices as data sources.\n"
327327

328328
curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/csourceRegistrations/' \
329-
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
329+
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
330330
-H 'Content-Type: application/json' \
331331
-d '{
332332
"type": "ContextSourceRegistration",
@@ -348,7 +348,7 @@ curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/csourceReg
348348

349349

350350
curl -s -o /dev/null -X POST 'http://farmer/ngsi-ld/v1/csourceRegistrations/' \
351-
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
351+
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
352352
-H 'Content-Type: application/json' \
353353
-d '{
354354
"type": "ContextSourceRegistration",

0 commit comments

Comments
 (0)