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
POST Request with raw body JSON
mugicagonzalez_
Member Posts: 14 Contributor I
A package in the marketplace called "RestAPI" supports a simple "POST Request" processor with a parameter "Body Category" (x-www-formurlencoded or raw) and raw data (JSON, XML, HTML, ...)
Does the Web Mining package has a similar process? The Get Page process doesn't seem to have these "Raw body" parameters
Does the Web Mining package has a similar process? The Get Page process doesn't seem to have these "Raw body" parameters
Tagged:
0
Best Answer
-
mugicagonzalez_ Member Posts: 14 Contributor IThanks @sgenzer
I made it work by using the "Enrich Data via Webservice" indeed.
If you want to send a JSON body type you have to add to request properties Content-Type (as property) and application/json (as value).0
Answers
If you just want to do a POST request with a body, I would use the "Enrich Data via Webservice" operator in the Web Mining package, or if you're feeling adventurous, the amazing new Web Automation extension by Old World Computing.
I have many, many examples here on the community showing how to do REST API calls using RapidMiner.
cc @land
Scott