I’m new to KNIME and have encountered a 400 error when trying to send a GET request to a REST server. The website that I am trying to access makes use of authentication (which I provided under “Basic authentication”. I provided KNIME with a json file (which I got as output from Postman).
Does anyone perhaps know what can cause a 400 error (Missing value) on the GET Requet node?
could you elaborate more on what error do you et exactly and how to you use a json file in the GET request? What resource do you reach out to? Is it a KNIME Server or something else?
Error 400 in general means “Bad request”, see here https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400. It does not complain about credentials (error 401) or page not found (error 404), so i suspect there is something special about the request itself.
Sorry about not getting back to you earlier.
I am trying to access the geosys.com site from a developer interface.
I have changed the GET request node to a POST request node, as the web page requires authentication.
Are there any other nodes you can suggest in order to get these type of results (https://youtu.be/Snj3_XPcJrU) from a site that requires authentication?
if POST works well, I would use it, as I’m not aware of anything else other general-purpose REST nodes other than GET/PUT/POST/DELETE requests. If you are aware of a package in Java/python/R that provides more flexibility- you can use that with the corresponding scripting nodes.