From 75bf1e5be40158d1a2c67b5cf70b12a7d9c14264 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 25 Apr 2024 16:15:59 -0700 Subject: [PATCH] Update docs/src/api/class-apirequestcontext.md Co-authored-by: Dmitry Gozman Signed-off-by: Yury Semikhatsky --- docs/src/api/class-apirequestcontext.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/api/class-apirequestcontext.md b/docs/src/api/class-apirequestcontext.md index f8382d03da..1080e460f8 100644 --- a/docs/src/api/class-apirequestcontext.md +++ b/docs/src/api/class-apirequestcontext.md @@ -229,7 +229,7 @@ var data = new Dictionary() { await Request.FetchAsync("https://example.com/api/createBook", new() { Method = "post", DataObject = data }); ``` -The common way to send file(s) in the body of a request is to upload them as form fields with `multipart/form-data` encoding. Use [FormData] to construct request body and pass it to the request as `multipart` parameter: +The common way to send file(s) in the body of a request is to upload them as form fields with `multipart/form-data` encoding. Use [FormData] to construct request body and pass it to the request as [`option: multipart`] parameter: ```js const form = new FormData();