Recent posts:
Recent replies:

If you are sending a body in your request to the REST service then it needs to be a POST, not a GET.

<Route Url="/consultarImagen" Method="GET" Call="consultarImagen"/>


Since you're writing this in a normal .int, you won't want to use "..%HTTPRequest". You can just instantiate a new request object and name it something like httpRequest:

set httpRequest=##class(%Net.HttpRequest).%New()

And instead of Craig's ..Adapter call, you can use httpRequest's Post method.

Marc has no followers yet.
Marc has not followed anybody yet.
Global Masters badges: