Paul Thornton 1 Posted November 10, 2020 After updating Delphi to 10.4.1 MARS I am no longer able to access the WebRequest object with: [Context] Request: TWebRequest; As you can see in the screenshot below, `Request` is always nil. It happens with our server application, but is also repeatable using the MARSParameters demo. Anybody got any idea what the problem might be? /Paul Share this post Link to post
Stuart Clennett 15 Posted November 11, 2020 HI, [Context] Request: TWebRequest; should be changed to [Context] Request: IMARSRequest; you'll need to include MARS.Core.RequestAndResponse.Interfaces in your uses clause. Regards 1 Share this post Link to post
Paul Thornton 1 Posted November 11, 2020 @Stuart Clennett That did the trick, thanks 🙂 1 Share this post Link to post