I apologise if this is a bad question but I have been struggling to get the GET request to work properly and need some help. For some background I am trying to download a file from an API that is available within our cooperate network. There are two parts I need help with
My postman get request works with NTLM authentication, but only if the automatic retries are enabled. After some packet inspection, it appears that there is a multi-stage handshake going on with some extra header included and it takes 3 requests to get authenticated before the API returns the request. My understanding is that this is part of NTLM protocol, but I am not sure.
If postman is configured to use NTLM it works. But when in KNIME (Get Request) the NTLM (labs) option doesn’t work. Nor do any of the other options. I just get HTTP 401 errors. Even with the same credentials provided. I need help working out what is going on here and how I can fix it. I suspect its not doing the handshake/negotiation properly but I cannot see the requests KNIME is sending to know
Automatic Windows Authentication
Once we have that worked out I don’t want to have to provide credentials at all. I want KNIME to automatically use the credentials of the current user the same way a web browser does. (Or even doing the request via powershell can do this). It just needs to be normal windows authentication.
My cooperate user account has access to the API I am trying to hit. But after setup, the KNIME workflow will be running as part of another application running on one of several servers (via command line), and we want it to use those service account’s credentials. How can I achieve this?
It may be that I need to do this a different way like using a java snippet or something. Any alternatives you suggest will also be appreciated. I can also provide more details if required. Just ask
(For background, I am a self taught programmer but I am new to web authentication so any explanations would be appreciated. Thanks in advance)