GET request and text/event-stream content-type

Hi, I am able to query a REST API, but the content type of the response is text/event-stream and when I connect the GET node to an interactive table the body column contains a red “?”, which I assume, means it was unable to parse the response.

Is there a way to handle this type of response?

Hi,

Is it possible for you to provide the URL you are using?
And also the documentation for the API you are using.

:blush:

Hi Armin - unfortunately this is an internal service that doesn’t have a public URL. The API is provided by the SmallWorld software package from NextMove software.

In the end I was able to handle it by using a Python snippet and handling the event stream using the sseclient-py package

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.