From f980d9a013677b83786332f28c5cff17e675565d Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Thu, 7 Sep 2023 18:13:08 +0200 Subject: [PATCH] Encode URL --- README.ja.md | 4 +++- README.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.ja.md b/README.ja.md index 9586afd..6d1a635 100644 --- a/README.ja.md +++ b/README.ja.md @@ -465,7 +465,9 @@ git checkout NGSI-v2 ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities' \ - -d 'type=https://uri.fiware.org/ns/data-models%23Building&options=keyValues' + -H 'Accept: application/ld+json' \ + -d 'type=https%3A%2F%2Furi.fiware.org%2Fns%2Fdata-models%23Building' \ + -d 'options=keyValues' ``` #### レスポンス : diff --git a/README.md b/README.md index 2cd57d7..eb327be 100644 --- a/README.md +++ b/README.md @@ -432,7 +432,9 @@ request all building entities without supplying a known context. ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities' \ - -d 'type=https://uri.fiware.org/ns/data-models%23Building&options=keyValues' + -H 'Accept: application/ld+json' \ + -d 'type=https%3A%2F%2Furi.fiware.org%2Fns%2Fdata-models%23Building' \ + -d 'options=keyValues' ``` #### Response: