So , I am trying to extract info from some link - the problem is with knime I am getting:
statusCode=400,size=83
<p>While when entering link in a browser I am getting positive result: (just an example in this case). Anyone gets the same error while putting below as column and then using column in HTTP Retriever? Weird indeed - any info what could it be?</p>
<table>
<tbody>
<tr>
<td>
<p><strong>https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/inchikey/MOXOHCNEDWVSIE-UHFFFAOYSA-N/cids</strong></p>
<p> </p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
The link does not work with Internet Explorer but it works with Waterfox / Chrome... Anyone has experience with this kind of problem?
After further investigation - I have managed to find settings in Preferences/XML/XML Catalog and:
http://www.w3.org/2001/XMLSchema-instance
Is not on the list (Only http://www.w3.org/2001/XMLSchema). Could it be the reason? No idea, but would be greateful for any info on this.
I assume you will need to send an "Accept" HTTP header with your request (e.g. with "application/xml" as value), as this is not set by default in the HttpRetriever.