According to the documentation of the plugin, you can define custom headers for requests with a syntax like this one:
The problem arises when you try to use custom headers that use names with non-standard characters. I can't see the way to do something like this:
I know I can do it the hard way:
However I don't think that's the preferred method as it involves granting certain permissions to scripts.
Under normal circumstances, I would've expected here to use this kind of syntax:
Pretty much a json object with one or more key/value pairs.
So, is this possible? is there any alternative syntax that can be used right now to avoid working directly with Java classes?