Skip to content

Commit a7a3d63

Browse files
Merge pull request #255478 from ejizba/ej/funcFix
Fix inaccurate Functions Node.js rawBody description
2 parents 92921c0 + 6263035 commit a7a3d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/functions-reference-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ The `HttpRequest` object has the following properties:
11671167
| **`params`** | `Record<string, string>` | Route parameter keys and values. |
11681168
| **`user`** | `HttpRequestUser | null` | Object representing logged-in user, either through Functions authentication, SWA Authentication, or null when no such user is logged in. |
11691169
| **`body`** | `Buffer | string | any` | If the media type is "application/octet-stream" or "multipart/*", `body` is a Buffer. If the value is a JSON parse-able string, `body` is the parsed object. Otherwise, `body` is a string. |
1170-
| **`rawBody`** | `Buffer | string` | If the media type is "application/octet-stream" or "multipart/*", `rawBody` is a Buffer. Otherwise, `rawBody` is a string. The only difference between `body` and `rawBody` is that `rawBody` doesn't JSON parse a string body. |
1170+
| **`rawBody`** | `string` | The body as a string. Despite the name, this property doesn't return a Buffer. |
11711171
| **`bufferBody`** | `Buffer` | The body as a buffer. |
11721172
11731173
::: zone-end

0 commit comments

Comments
 (0)