duckdb / community-extensions

https://duckdb.org/community_extensions
143 stars 26 forks source link

Update httpserver ref #150

Closed lmangani closed 1 month ago

lmangani commented 1 month ago

Authentication methods for API

Usage

Basic Auth

SELECT httpserve_start('localhost', 9999, 'your_api_key_or_user:pass');
curl -X POST -d "SELECT 'hello', version()" "http://user:pass@localhost:9999/"

Token Auth

SELECT httpserve_start('localhost', 9999, 'supersecretkey');
curl -X POST --header "X-API-Key: supersecretkey" -d "SELECT 'hello', version()" "http://localhost:9999/"
lmangani commented 1 month ago

There are currently merge conflicts, can you merge or rebase with main?

Are you referring to the community-extensions repo or the extension itself? I can't see errors so I'm not sure

Edit the community-extensions fork seems in sync image

carlopi commented 1 month ago

I had: image

but merge was available, all good.

lmangani commented 1 month ago

Apologies if this was due to the PR update mid-action. Will be more careful next time 😉