In a Web Request action, I tried to add a header named "referer" with the domain name of the sharepoint tenant as the value (e.g. xxxxx.sharepoint.com; as required by the external application's API) in my web request but I received the following message when I executed the action:
The 'referer' header must be modified using the appropriate property or method.Parameter name: name
I know that in .NET, you have to set the HttpWebRequest.Referer property instead of adding a header. In the Nintex workflow action "Web Request", there is no way to set that property. The external application's API requires that the referer header be exactly the whitelisted domain with no "https://" or trailing slashes, and I'm getting an error response code if I let Nintex Workflow set the referer property.
Is there a workaround here? Or will this require a product change?