Container Input (Raw HTTP) not receiving headers

Hi,

I am trying to use the Container Input (Raw HTTP) node to access the header information, I have set the default headers but it seems when I am testing using Postman either the header information isn’t sent or KNIME doesn’t read the header values. Just wondering if anyone else have tried to use this node to specifically access the header information?

Hi, are there anyone that can help me with this node. I urgently need to use this functionality to extract the headers but the node does not seem to do what it is meant to do or I am misunderstanding the node.

I may have used that note for testing purposes in the past when I had access to a KNIME Server.

I think to enhance your chances of someone being able to help you, some more information, screenshots etc. would be very helpful as I guess quite some people here in the community won’t have access to Server / Business hub…

From the node description I take that the header data should be exposed as a data table in one of the output ports:

When you send the request to your server/hub and then inspect the job that gets created, what does the middle output port show?

It doesn’t work. Neither Headers nor Parameters. Example workflow is, the Raw HTTP node input and output nodes, nothing else. I know the documentations says what it supposed to do, only thing is that it doesn’t do what the documentation says. I have used Postman to make the call, but only thing that I get are the default values that I configure.
Unfortunately, this is only something that people with access to a server will be able to help as you have to call the API endpoint to the workflow and pass headers.

Hi Willem,

I get that - as I said I don’t have access right now, but managed to make it work in the corporate environment. My questions were more targeted at finding out if you can actually verify that the post request went through alright - given the limited amount of people that may be able to help I can still offer to take a look based on screenshots etc.

If you have access to a KNIME server maybe you can also contact KNIME support directly?

KNIME Support has provided the missing part of information. When using the “Container Input (Raw HTTP)” node you have to call the workflow by specifying “raw-execution” for example:
Post: host_url/knime/rest/v4/repository/{Workflow_Path}:raw-execution?format=PDF&reset=true

3 Likes

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