I've merged @gkostov commit 3927c97 mentioned in issue #10 to current master; and hide password.
Added the option to use basic HTTP authorization when making the API
Merge branch 'basic-auth'
Hide password in basic authorization
Marcin, I've tested out your code and it works swell. Before I merge in, I'd like to propose that we slightly modify the JSON configuration schema to support multiple authentication mechanisms -- so that both HTTP Basic auth and API key authorization is supported on the same API. For example:
I have run into APIs that require both an API key and HTTP basic auth. Does anyone have any thoughts they'd like to add to this before I start coding?
Sounds reasonable for me
Any word on this? It'd be great to have Basic Auth built-in.
Guys! Please merge it in.
Looking back, there was a big schema change to accommodate simul. apiKey+basic auth. Will revisit soon. Thanks for ping.
Basic auth feature added for both Node server level and API request level.