Hi guys; My webscript is hitting a remote API that requires me to set the accepted-language header on the call. Anyone done this yet? Haven't had any luck on other forum posts.
the Connector interface defines its overloaded call methods with a parameter of type ConnectorContext. This is how you can provide headers, parameters and request content type for a remote call. This is only possible via Java web scripts though - you're out of luck for JavaScript backed ones as far as I can see, unless you provide a custom JavaScript extension.