Skip to content

Commit 2d8a979

Browse files
committed
Fixing Registration
1 parent a555638 commit 2d8a979

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
@@ -98,7 +98,7 @@ curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/entityOper
9898
echo -e "Registering Farmer and Devices as data sources.\n"
9999

100100
curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/csourceRegistrations/' \
101-
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
101+
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
102102
-H 'Content-Type: application/json' \
103103
-d '{
104104
"type": "ContextSourceRegistration",
@@ -120,7 +120,7 @@ curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/csourceReg
120120

121121

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

0 commit comments

Comments
 (0)