REST POST without an import mapping?

0
I need to be able to import the entirety of POSTed JSON body as a single string without using a mapping.  How do I do this, exactily, step-by-step? I cannot use an Import Mapping because one of the elements of the JSON can itself be anything from null to a complex sub-array containing sub-arrays.  (Or at least I've been unable to create a mapping that will map the entire JSON content into a single string object...) The good news is that I only need to locate and extract one single element which I can find through a string search.  Any and all suggestions greatly appreciated.
asked
1 answers
2

Hello Stuart,

 

Maybe the entities httprequest and response can help you out, especially the content attribute.

 

More info here:

https://docs.mendix.com/refguide/http-request-and-response-entities/

 

In combination with creating a rest service with a post request it should be available:

image.png

 

Hope this helps,

 

Good luck

answered