Skip to main content

Hi @External Services ,

 

Was anyone able to set an HTTP header (x-api-key) to a POST request with enhanced external services. Official docu suggest that it should be possible: "...send parameters as headers within the HTTP requests...".

 

https://developer.salesforce.com/forums/?id=9062I000000g6WgQAI suggests it could work, but can't get it to work.

 

Anyone able to share an example? This is lacking in the official docu.

8 条评论
  1. 2020年4月26日 19:32
    @Petr Svestka

    I was just wondering if instead of using Path "/dir-stuff/" in your json, that instead you tried having the Named Credential with "URL/dir-stuff" and then in your JSON the Path was now "/". So if the same limitations also apply to the Named Credentials or not.

    It would require a different Named Credential for each Path that had the dash though.

    Since Summer '20 is coming shortly and KI shows fixed I understand waiting of course.

0/9000