Skip to content

Commit cb59c15

Browse files
committed
add support for param in lorust::HttpRequest
1 parent 194276e commit cb59c15

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Framework/Built_In_Automation/Sequential_Actions/lorust_performance_action.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ def find_row_by(
112112
#
113113
# "Empty"
114114
body = "Empty"
115+
elif body[0].strip() == "Raw: json":
116+
# This is a convenience (special) case for #2 mentioned below,
117+
# for passing json data.
118+
body = {
119+
"Raw": json.dumps(CommonUtil.parse_value_into_object(body[2])),
120+
}
115121
else:
116122
# 2. Raw string - mostly used with the "Content-Type" header having the values:
117123
# application/json

0 commit comments

Comments
 (0)