@@ -286,7 +286,7 @@ Animals are not available on the default tenant, Data about animals on the farm
286286```console
287287curl -L 'http://localhost:1027/ngsi-ld/v1/entities/?type=Animal&limit=100&options=concise' \
288288-H 'Content-Type: application/json' \
289- -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json'
289+ -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" '
290290```
291291
292292#### Response:
@@ -321,7 +321,7 @@ The response on port `1027` consists of the details of the **Animal** entities h
321321```console
322322curl -L 'http://localhost:1026/ngsi-ld/v1/entities/?type=Animal&limit=100&options=concise' \
323323-H 'Content-Type: application/json' \
324- -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json'
324+ -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" '
325325```
326326
327327#### Response:
@@ -359,7 +359,7 @@ but no data is held in the primary context broker whatsoever.
359359
360360```console
361361curl -L 'http://localhost:1026/ngsi-ld/v1/csourceRegistrations/' \
362- -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
362+ -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
363363-H 'Content-Type: application/json' \
364364-d '{
365365 "type" : " ContextSourceRegistration" ,
@@ -392,7 +392,7 @@ animals from the farmer subsystem:
392392```console
393393curl -L 'http://localhost:1026/ngsi-ld/v1/entities/?type=Animal&limit=100&options=concise' \
394394-H 'Content-Type: application/json' \
395- -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json'
395+ -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" '
396396```
397397
398398#### Response:
@@ -435,7 +435,7 @@ by the associated `@context` file.
435435
436436```console
437437curl -L 'http://localhost:1026/ngsi-ld/v1/csourceRegistrations/?type=Animal' \
438- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json'
438+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" '
439439```
440440
441441#### Response:
@@ -502,7 +502,7 @@ The **Vet's Context Broker** can be found on port `1030`, a simple query can be
502502curl -G -X GET \
503503 'http://localhost:1030/ngsi-ld/v1/entities/urn:ngsi-ld:Animal:cow001' \
504504-H 'Content-Type: application/json' \
505- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
505+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
506506-d 'attrs=name,comment'
507507```
508508
@@ -529,7 +529,7 @@ own broker and the vet:
529529
530530```console
531531curl -L 'http://localhost:1026/ngsi-ld/v1/csourceRegistrations/' \
532- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
532+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
533533-H 'NGSILD-Tenant: farmer' \
534534-H 'Content-Type: application/json' \
535535-d '{
@@ -562,7 +562,7 @@ A subsequent request on the **Farmer's Context Broker** - port `1027`, will rece
562562curl -G -X GET \
563563 'http://localhost:1027/ngsi-ld/v1/entities/urn:ngsi-ld:Animal:cow001' \
564564-H 'Content-Type: application/json' \
565- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
565+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
566566```
567567
568568#### Response:
@@ -622,7 +622,7 @@ It is still possible to retrieve the locally held data in the **Farmer's Context
622622curl -G -X GET \
623623 'http://localhost:1027/ngsi-ld/v1/entities/urn:ngsi-ld:Animal:cow001' \
624624-H 'Content-Type: application/json' \
625- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
625+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
626626-d 'local=true'
627627```
628628
@@ -702,7 +702,7 @@ The contractor data can be federated by the farmer as shown:
702702```console
703703curl -iX POST \
704704 'http://localhost:1026/ngsi-ld/v1/csourceRegistrations/' \
705- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
705+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
706706 -H 'NGSILD-Tenant: farmer' \
707707 -H 'Content-Type: application/json' \
708708 -d '{
@@ -823,7 +823,7 @@ An exclusive registration can be made on the **Farmer** context broker to always
823823
824824```console
825825curl -L 'http://localhost:1026/ngsi-ld/v1/csourceRegistrations/' \
826- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
826+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
827827 -H 'NGSILD-Tenant: farmer' \
828828 -H 'Content-Type: application/json' \
829829 -d '{
@@ -1027,7 +1027,7 @@ An auxiliary registration can be made on the **Farmer** context broker to only r
10271027
10281028```console
10291029curl -L 'http://localhost:1026/ngsi-ld/v1/csourceRegistrations/' \
1030- -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json' \
1030+ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ' \
10311031 -H 'NGSILD-Tenant: farmer' \
10321032 -H 'Content-Type: application/json' \
10331033 -d '{
0 commit comments