@@ -367,7 +367,8 @@ the record within the **CrateDB** itself.
367367# ### 1️⃣ Request:
368368
369369` ` ` console
370- curl -L -X POST 'http://localhost:1026/ngsi-ld/v1/subscriptions/' \
370+ curl -L -X POST \
371+ 'http://localhost:1026/ngsi-ld/v1/subscriptions/' \
371372-H 'Content-Type: application/ld+json' \
372373-H 'NGSILD-Tenant: openiot' \
373374--data-raw '{
@@ -411,7 +412,8 @@ including the `throttling` attribute in the request body.
411412# ### 2️⃣ Request:
412413
413414` ` ` console
414- curl -L -X POST 'http://localhost:1026/ngsi-ld/v1/subscriptions/' \
415+ curl -L -X POST \
416+ 'http://localhost:1026/ngsi-ld/v1/subscriptions/' \
415417-H 'Content-Type: application/ld+json' \
416418-H 'NGSILD-Tenant: openiot' \
417419--data-raw '{
@@ -529,10 +531,11 @@ in no data being returned.
529531# ### 4️⃣ Request:
530532
531533` ` ` console
532- curl -X GET \
533- 'http://localhost:8668/v2/entities/urn:ngsi-ld:Device:filling001/attrs/filling?limit=3 ' \
534+ curl -G - X GET \
535+ 'http://localhost:8668/v2/entities/urn:ngsi-ld:Device:filling001/attrs/filling?' \
534536 -H 'Accept: application/json' \
535- -H 'Fiware-Service: openiot'
537+ -H 'Fiware-Service: openiot' \
538+ -d 'limit=3'
536539` ` `
537540
538541# ### Response:
@@ -555,10 +558,12 @@ This example shows the fourth, fifth and sixth sampled `filling` values of `urn:
555558# ### 5️⃣ Request:
556559
557560` ` ` console
558- curl -X GET \
559- 'http://localhost:8668/v2/entities/urn:ngsi-ld:Device:filling001/attrs/filling?offset=3&limit=3 ' \
561+ curl -G - X GET \
562+ 'http://localhost:8668/v2/entities/urn:ngsi-ld:Device:filling001/attrs/filling' \
560563 -H 'Accept: application/json' \
561- -H 'Fiware-Service: openiot'
564+ -H 'Fiware-Service: openiot' \
565+ -d 'offset=3' \
566+ -d 'limit=3'
562567` ` `
563568
564569# ### Response:
0 commit comments