xbommer07X
BuildShip8mo ago
7 replies
xbommer07

API Node Header

I have an endpoint that I must pass a header.

accept: Application/json.

I have not found a way to accomplish this yet. Without it Im afraid I will not be able to use Buildship
Solution
You can add the new header X-API-KEY (or your required key) directly to the node logic by modifying the headers in the code of the API call node. Also, ensure to pass their values in the export params and node fields too to make it work.
Please refer to the image attached for an example and the Discord link.
Docs - https://docs.buildship.com/utility-nodes/api-call-node.

Discord - API Call.
Was this page helpful?