Skip to content

Commit

Permalink
[minor] Documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amorfis committed Jan 23, 2025
1 parent ba3420b commit f25bbac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/requests/multipart.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Multipart requests

To set a multipart body on a request, the `multipartBody` method should be used (instead of `body`). Each body part is represented as an instance of `Part[BasicRequestBody]`, which can be conveniently constructed using `multipart` methods coming from the `sttp.client4` package.
To set a multipart body on a request, the `multipartBody` method should be used (instead of `body`). Each body part is represented as an instance of `Part[BasicBodyPart]`, which can be conveniently constructed using `multipart` methods coming from the `sttp.client4` package.

A single part of a multipart request consist of a mandatory name and a payload of type:

Expand Down

0 comments on commit f25bbac

Please sign in to comment.