How to have HTTP failed request informations from custom node

Describe the problem/error/question


I’m building a community node that makes an HTTP request.

When I run my operation that is a POST with “routing” options, I have a 400 error, but I cannot find information about the sent request.

I ran in DEBUG mode but I just see in logs that the request failed.

It does not display the URL, nor the parameters.

Is there a solution to display the request informations?

Welcome to the community @Airthee!

You are right, we really have to improve the development experience. A workaround would be adding a preSend method and then print the requestOptions in there.

Here an example of a preSend method:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.