I tried to implement the NodeJS server input with json input data but i think there is a issue with the handling of this kind of data: request doesn’t end end is running into a timeout. The workflow is not catching the posted data and when i dug deeper i did find, that inside of the WF folder the request does something weird. When i post xml form data to the same address the data is not handled as attachment. but when i post json format the WF is handling it as an attachment and is creating an folder and inside of it the json file. when i post a regular attachment there is no such folder.
It would be nice of someone else can test this out.
when i post an attachment to the server the request is beeing handled but the attachment stays in C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\nodeJS\NODEJS-JSON-DEBUG subfolder. and the request is timing out.
Support had only the (not really) helpful hint to disable xml envelope. but i need this too, to check the request for validity
By the way, if you want to send your JSON payload in the body of the request, then just make sure your request specifies a content-type of application/json (or even text/plain) and then you can embed the JSON code directly in the body of the request.
The same goes for XML in the request body: specify a content-type of application/xml