Question
· Oct 21, 2023

%CSP.REST - accessing raw stream

Hi,
How can I get an instance of stream which is a successor of %Stream.Object in a method that handles a REST POST request?

#dim request as %CSP.Request = %request
 set content = request.Content

This returns a variable of type %CSP.Stream which is totally useless, because %CSP.Stream does not inherit from %Stream.Object

Product version: IRIS 2023.1
Discussion (2)1
Log in or sign up to continue