How to turn the output of the POST Request Operator into data?
I am using the POST Request operator to run multiple requests. However, I can't seem to turn the responses into something I can plug into the Web Automation operator as json input to be parsed. Anyone has experience with this?
Tagged:
0
Best Answers
-
land RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531UnicornHi,thanks for cc'ing me,@mschmitz@meThe Web automation is thought to be used with it's own operators for sending webservice requests. It provides operators for sending requests to webservice api endpoints. If the endpoint returns json, the Send JSON Request operator allows you to directly parse the json into one or more data sets by providing parse configuration to it's input port.There are several tutorials linked on that on ourwebsite.If you don't get it to work, please provide some more information about your use case so that we can help you.
Greetings,Sebastian
5 -
land RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531UnicornWell, not really crazy. More a good input for our usabilityIts just the extension logo in our company colors. Perhaps we should invert the colors to avoid this misunderstanding...
If you use the Send Request operator, you will simply get the result as a FileObject. This is an object within RapidMiner that you can use to handle binary data. E.g. you can write it as file somewhere on your computer, copy it, etc. Most Read operators can use it as input, and if it's json, you can pass it to a "Parse JSON from File" operator's file input port. In order to parse the JSON you will need to supply a parse specification as highlighted in the blogs I linked above
6
Answers
Dortmund, Germany