StephenS
BuildShip17mo ago
9 replies
Stephen

Where do I find docs on how to add a header with a value to a rest API call ?

I want to add Authorization with a value but the "+" symbol seems to add a new element to the output ??
When I click on the "Request headers" I don't see anything for adding values to that property...
Any help or advice is appreciated ...
image.png
Solution
To add an Authorization header, you'll require to add it under the Request Headers, ensuring the
type
of the request headers is Object. You can clone this sample workflow - https://buildship.app/remix/ca544a0c-566c-4642-aa3b-729e7eb92474 which has an example.

Also, to learn more about headers and other components you can refer to this - https://docs.buildship.com/basics/ship-an-api and REST API Trigger docs - https://docs.buildship.com/trigger-nodes/rest-api.
image.png
Was this page helpful?