Skip to content

Commit 21c052a

Browse files
committed
code: add an option to the Web class to send raw POST data
1 parent c39b886 commit 21c052a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

actions/data/src/code/web.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ namespace Code
139139

140140
postData = postDataParameters.toString(QUrl::FullyEncoded).toLatin1();
141141
}
142+
else if(it.name() == QLatin1String("rawData"))
143+
{
144+
postData = it.value().toString().toUtf8();
145+
}
142146
else if(it.name() == QLatin1String("query"))
143147
{
144148
QJSValueIterator queryIt(it.value());

0 commit comments

Comments
 (0)