ZafClient request custom HTTP header | Community
Skip to main content

ZafClient request custom HTTP header

  • September 6, 2023
  • 1 reply
  • 0 views

Samir11

I have custom private app and using Zafclient to fetch data from external API to show on ticket side bar. When I include a custom HTTP header like ZENDESK_AUTH_TOKEN, that header is not being sent to the external API (I have access to external API, so I can see request metadata). However if I add Authorization HTTP header, I can see that header is sent. Is there restriction on which headers can be sent to external API via Zafclient and Zendesk proxy? I am using secure settings with placeholder {{setting.myParam}} and Zendesk proxy to replace these values, in case this helps.

1 reply

  • October 5, 2023
Hi Samir,
 
Do you happen to be using ZCLI and still in your testing environment? If so, you would need to package and upload the app as secure settings aren't supported by the ZCLI server