Hi guys,
I would like to query a webservice via Post method and with a variable in the Post method body. I did similar work for GET method (added variable via Java Edit Variable node) as shown below:
It was relatively straight forward because I had to manipulate only URL part not the body part. But I encountered various issues with Post method and after reading the previous posts I thought to ask you:
-
I can’t add a variable after reading CSV file as the text becomes a cell and String manipulation node can only give me that text as string (i.e. $Value$ and not the actual body which should be replaced). The same goes by connecting Post node directly to CSV reader and using “Use column’s content as a body” in Post node.
-
I couldn’t use Java Edit Variable (Simple) node although I tried JavaScript XHR, Fetch, and JQuery codes to get a part of Post body replaced by variable (as I did in case of GET method)
Here is the variable I would like to change using Post method:
Any tip will be appreciated.