I’m having difficulty figuring out the correct setup for the POST Request Node.
For example, with the windows command prompt the following returns data:
curl “https://api.openfigi.com/v3/mapping” --request POST --header “Content-Type: application/json” --data “[{"idType":"ID_TRACE","idValue":"AGM5512024"}]”
However, my setup with the KNIME POST Request node is giving me a “400” error (bad request).
Since the endpoint is expecting a JSON, you request body needs to be formatted in such a way. Right now it’s not a valid JSON. You only need the content between the brackets.