From 0778b6099c6d57a45ca5e8cbaf60613ce9ee0ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Wed, 4 Oct 2023 13:02:08 +0200 Subject: [PATCH 1/2] FIX typos --- doc/manuals/orion-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/manuals/orion-api.md b/doc/manuals/orion-api.md index 23ecd1f5c0..1a2d2877df 100644 --- a/doc/manuals/orion-api.md +++ b/doc/manuals/orion-api.md @@ -2131,11 +2131,11 @@ For instance: ### Text based payload If `payload` is used in `httpCustom` or `mqttCustom` the following considerations apply. -Note that only one of the following can be used a the same time: `payload`, `json` or `ngsi. +Note that only one of the following can be used a the same time: `payload`, `json` or `ngsi`. * [General syntax restrictions](#general-syntax-restrictions) also apply to the `httpCustom.payload` field in the API operations, such as `POST /v2/subscription` or `GET /v2/subscriptions`. An example - is shown below. + is shown below. However, at notification time, any URL encoded characters in `payload` is decoded. * `Content-Type` header is set to `text/plain`, except if overwritten by `headers` field Example: From f53bf077399891c5f0e4d139785eb846c86c4bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Wed, 4 Oct 2023 13:03:18 +0200 Subject: [PATCH 2/2] Update orion-api.md --- doc/manuals/orion-api.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/manuals/orion-api.md b/doc/manuals/orion-api.md index 1a2d2877df..6ac35dae42 100644 --- a/doc/manuals/orion-api.md +++ b/doc/manuals/orion-api.md @@ -2134,8 +2134,9 @@ If `payload` is used in `httpCustom` or `mqttCustom` the following consideration Note that only one of the following can be used a the same time: `payload`, `json` or `ngsi`. * [General syntax restrictions](#general-syntax-restrictions) also apply to the `httpCustom.payload` - field in the API operations, such as `POST /v2/subscription` or `GET /v2/subscriptions`. An example - is shown below. However, at notification time, any URL encoded characters in `payload` is decoded. + field in the API operations, such as `POST /v2/subscription` or `GET /v2/subscriptions`. However, + at notification time, any URL encoded characters in `payload` is decoded. An example + is shown below. * `Content-Type` header is set to `text/plain`, except if overwritten by `headers` field Example: