Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
How to turn the output of the POST Request Operator into data?
me
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?
Find more posts tagged with
AI Studio
APIs + Webservices
Accepted answers
land
Hi,
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,
Sebastian
land
Well, 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 above
All comments
MartinLiebig
CC:
@land
who is the expert on this.
land
Hi,
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,
Sebastian
me
@land
I do have a subscription to Web Automation. I just figured this out. So this will sound crazy but the red ring around those operators icons made me think they were deprecated, I have been avoiding those since I first got this extension
me
@land
There's no tutorial on what to do with the response once I get it w/ the send request operator. Do you know where I can find more info on that?
land
Well, 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 above
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups