The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
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, Member Posts: 2,531 UnicornHi,thanks for cc'ing me, @mschmitz@me The 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 our website.If you don't get it to work, please provide some more information about your use case so that we can help you.Greetings,Sebastian5
-
land RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 UnicornWell, not really crazy. More a good input for our usability Its 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 above6
Answers
Dortmund, Germany