In case anyone else encountered this problem. You have to edit your function and check the "has return value" box. Then your return will work. After this you have to use "Call Function" again and now you have a new field for saving results.
POST data constructor problem
-
hello, I have a problem with sending arrays with the POST data constructor, the server reads it as a string instead of an array, and it's giving me Status 400 instead of 200
for example
[[ERRORS]] = ["problem 1"] or [[ERRORS]] = ["Problem 1", "Problem 2"]
and when i send it with POST like let say
"mistake", [[ERORRS]] , the server say's it wants an array and not a string -
@Kiryakov said in POST data constructor problem:
hello, I have a problem with sending arrays with the POST data constructor, the server reads it as a string instead of an array, and it's giving me Status 400 instead of 200
for example
[[ERRORS]] = ["problem 1"] or [[ERRORS]] = ["Problem 1", "Problem 2"]
and when i send it with POST like let say
"mistake", [[ERORRS]] , the server say's it wants an array and not a stringExactly a month has passed, I think it's time to give an answer
:DThe most obvious answer is don't use data constructor:

