Skip to content

Commit 3c4defb

Browse files
committed
Fixing Registration
1 parent bf3fc62 commit 3c4defb

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

155155
curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/csourceRegistrations/' \
156-
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
156+
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
157157
-H 'Content-Type: application/json' \
158158
-d '{
159159
"type": "ContextSourceRegistration",
@@ -175,7 +175,7 @@ curl -s -o /dev/null -X POST 'http://'"${CONTEXT_BROKER}"'/ngsi-ld/v1/csourceReg
175175

176176

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

0 commit comments

Comments
 (0)