From 5e8c2d4e0afc1c6ee82592ce3049e4e133572ded Mon Sep 17 00:00:00 2001 From: Benziza Date: Wed, 2 Sep 2026 01:05:28 +0200 Subject: [PATCH] document routeless route value encoding --- src/content/docs/22-integration-unit-testing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/docs/22-integration-unit-testing.md b/src/content/docs/22-integration-unit-testing.md index 52e35bd0..e6a733bb 100644 --- a/src/content/docs/22-integration-unit-testing.md +++ b/src/content/docs/22-integration-unit-testing.md @@ -223,6 +223,8 @@ sealed class MyRequest } ``` +Route and query parameter values are URL-encoded by these helpers, so reserved characters in the request DTO values are preserved when the request is sent. + Helper methods such as **{POST/PUT/PATCH}Async()** methods even has an optional argument which allows you to automatically convert the supplied request DTO instance in to multipart form-data for submitting to form accepting endpoints. ### State Fixture @@ -663,4 +665,4 @@ public async Task FakeEventHandlerIsExecuted() ### Unit Test Examples -More unit testing examples can be found [here](https://github.com/FastEndpoints/FastEndpoints/blob/main/Tests/UnitTests/FastEndpoints/WebTests.cs). \ No newline at end of file +More unit testing examples can be found [here](https://github.com/FastEndpoints/FastEndpoints/blob/main/Tests/UnitTests/FastEndpoints/WebTests.cs).