How to create a request with no headers (empty headers)?

My module needs to send a file upload request with no headers and even when using an empty connection, the request sends the header parameter user-agent.

The docs mention that it is possible to override the headers, however when I try using the function headerBuilderFunction () I get the IML Error in the image:

Is there a way to leave headers empty?

Welcome to the Make community!

Have you tried setting headers to null?

"headers": null,

Thanks for the answer, I didn’t test it as I found an alternative approach for my use case that does not involve headers.