I have an external service that offers a HTTP POST API. One method returns an HTML, the other a (PDF or other) document. How can I call these from Mendix and especially how can I use the result - either a document to save or to download or an HTML-page to show to the user or to redirect to? NB: I am aware of the mendix 5 RestServices-module and the mendix 6 native REST-support, but I am not sure whether I use it right as I get a 302-response which neither can handle.
↧