bitfocus / companion-module-generic-http

Generic HTTP module
MIT License
9 stars 19 forks source link

Connection Level Headers #57

Open peternewman opened 3 months ago

peternewman commented 3 months ago

It would be nice if you can set connection-level headers with this module e.g. if you've got an API key or similar, you set it once on the connection rather than having to duplicate it within the headers part of each action.

Ideally these would then have any action based ones merged on top, probably overwriting the connection-level ones if they overlapped, so you could say set a general read only API key in the connection, but override it in a particular write action for example, or just add other unrelated headers for some stuff.