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:a176fccb-0b54-adb7-4fbc-23c4146d8276 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 81E2:BAF01:1D5120:27A2C3:69824C95 |
| html-safe-nonce | d4b085c988990226345795dfea0944462cbec4b66ee49049b7541f46331003d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUUyOkJBRjAxOjFENTEyMDoyN0EyQzM6Njk4MjRDOTUiLCJ2aXNpdG9yX2lkIjoiMzg2NzcyNzM4NDUwNTYzMzk0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0fcba04e961a62da80ac6ec7126b78c6c738d26a60d2e2adaeb499a5b2c906e8 |
| 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 | 5a7140cc648b2cdbea97926248d63eb74cfc2f06ec2c0582e23ad07913b6c9fe |
| 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 | eae0a2862c46988d0b368534d563f8e044fa42ea |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width