diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6e14a0d..8dea772 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,14 +1,16 @@
# Changelog
## [Unreleased]
+### Added
+- `HttpRequestFormatter.Builder.bodyParams(List)` method, by @HardNorth
## [5.0.2]
### Added
-- Add `HttpFormatUtils.getBodyType` method, by @HardNorth
+- `HttpFormatUtils.getBodyType` method, by @HardNorth
## [5.0.1]
### Added
-- Add `application/x-www-form-urlencoded` body type handling, by @HardNorth
+- `application/x-www-form-urlencoded` body type handling, by @HardNorth
## [5.0.0]
### Added
diff --git a/src/main/java/com/epam/reportportal/formatting/http/HttpRequestFormatter.java b/src/main/java/com/epam/reportportal/formatting/http/HttpRequestFormatter.java
index c51173a..cf67db3 100644
--- a/src/main/java/com/epam/reportportal/formatting/http/HttpRequestFormatter.java
+++ b/src/main/java/com/epam/reportportal/formatting/http/HttpRequestFormatter.java
@@ -257,6 +257,13 @@ public Builder bodyBytes(String mimeType, byte[] payload) {
return this;
}
+ public Builder bodyParams(List formParameters) {
+ type = BodyType.FORM;
+ this.mimeType = ContentType.APPLICATION_FORM_URLENCODED.getMimeType();
+ body = formParameters;
+ return this;
+ }
+
public Builder bodyParams(Map formParameters) {
type = BodyType.FORM;
this.mimeType = ContentType.APPLICATION_FORM_URLENCODED.getMimeType();