Title: API Authentication (basic or x-header) by lmangani · Pull Request #6 · Query-farm/httpserver · GitHub
Open Graph Title: API Authentication (basic or x-header) by lmangani · Pull Request #6 · Query-farm/httpserver
X Title: API Authentication (basic or x-header) by lmangani · Pull Request #6 · Query-farm/httpserver
Description: PR adds support for #5 X-API-Key header: 'yoursecrettoken` Basic Authentication header: username:password 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/"
Open Graph Description: PR adds support for #5 X-API-Key header: 'yoursecrettoken` Basic Authentication header: username:password Usage Basic Auth SELECT httpserve_start('localhost', 9999, 'your_api_key_...
X Description: PR adds support for #5 X-API-Key header: 'yoursecrettoken` Basic Authentication header: username:password Usage Basic Auth SELECT httpserve_start('localhost', 9999, &#...
Opengraph URL: https://github.com/Query-farm/httpserver/pull/6
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:60c8e0fe-fb25-41f3-2559-03d080a707f8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9728:61CFF:7D8AB:A5514:6981D80D |
| html-safe-nonce | e685408fe98db85a92e079966cf6b6089d27945f982b253dd85d1560b9b9a3d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzI4OjYxQ0ZGOjdEOEFCOkE1NTE0OjY5ODFEODBEIiwidmlzaXRvcl9pZCI6IjM2MTcyODc1ODM3Nzc4MDYzNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 91c1ef1bc7b70a28b0ef59f8a11bb366e447d15764bfb9f5a303c39d62c4b2f5 |
| hovercard-subject-tag | pull_request:2124718532 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Query-farm/httpserver/pull/6/files |
| twitter:image | https://avatars.githubusercontent.com/u/1423657?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1423657?s=400&v=4 |
| og:image:alt | PR adds support for #5 X-API-Key header: 'yoursecrettoken` Basic Authentication header: username:password Usage Basic Auth SELECT httpserve_start('localhost', 9999, 'your_api_key_... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ebfdf8d3e0fd17b103f41cc6696d84938694ebebdfecaf11fe00dbe4a9785801 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/Query-farm/httpserver git https://github.com/Query-farm/httpserver.git |
| octolytics-dimension-user_id | 183420031 |
| octolytics-dimension-user_login | Query-farm |
| octolytics-dimension-repository_id | 869750358 |
| octolytics-dimension-repository_nwo | Query-farm/httpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 869750358 |
| octolytics-dimension-repository_network_root_nwo | Query-farm/httpserver |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 471ae8701b77c1bf177c58019d2e6fd65ae89141 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width