Quipu API; HTTP Request Node Returns 404 Error for a Working Endpoint

Doh, I was finally to track down the issue.

After further testing and proper look at the webhook.site results, I figured out that the ‘Accept’ Header info was never passed to the webhook which solely received the default.

Accept: application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9,
 image/*;q=0.8, */*;q=0.7

As per documentation, the endpoint needs to receive

Accept: application/vnd.quipu.v1+json

When I create the http request node, I used the “Import cURL” Feature, which inserted the ‘Accept’ Parameter’s Name as “Accept”, i.e. starting with upper case.

However, following this thread to override http request header ‘Accept’ in the community, led me to the solution to write the name in lower case!

I simply thought that the default Accept Header received by the webhook was sufficient and never bothered to investigate…

While this is clearly on me, as a feature suggestion, maybe the “Import cURL” feature could automatically parse it to lower case by default?

2 Likes