Connection to HTTP REST Source or/and TCP source

I have an On-prem system I want to connect to, but this system is serving data only over HTTP.

I did setup an agent, activated Proxy runtime, and now I want to hit an HTTP endpoint and a TCP endpoint, which are not running over SSL.

How can I do this ?
The “REST Source” only allows me to specify an HTTPS endpoint.

We (unfortunately, legacy …) have the same requirement. Would be great if this could be supported.

Unfortunately, there is currently no native support for HTTP over the Agent Proxy runtime. However, there is a non-ergonomic way to do plain HTTP in external transforms by using the “create_socket” method.

You need to use the external_systems decorator and then you can call source.create_socket(<target host>, <target port>) which will create a raw TCP socket to the destination server. This socket can then be used to manually send and receive the raw HTTP bytes.

1 Like