I have created a custom journey builder activity type REST that can post to an external API successfully. However the external API requires a token for authentication that needs to be passed in the header of the request.
SFMC documentation here (https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/rest.htm) has a blank string for the headers and a url for the publish and save method headers. That makes absolutely no sense. Can somebody explain the format the headers should be in?
I am trying to pass "headers": [{"Authorization" : "Bearer theToken"}] via the json.config "execute" with no luck at all. I have tried the so many variations and no headers are passed to the API.
Any ideas?