Full Data Update
This commit is contained in:
@@ -8,7 +8,7 @@ This was a quick and dirty project, and will probably get some updates slowly in
|
||||
|
||||
```bash
|
||||
npm i
|
||||
node serve.js
|
||||
node basicauth_serve.js
|
||||
```
|
||||
|
||||
To use the endpoint, replace 'EMAIL' and 'PASSWORD' with your Haze Explr account details:
|
||||
@@ -23,6 +23,4 @@ Then, make a request to the endpoint with the resulting string as the value of t
|
||||
curl "http://localhost:3000/locations?auth=BASE64_ENCODED_STRING"
|
||||
```
|
||||
|
||||
|
||||
`basicauth_serve.js` does the same thing bus expects account details to be passed via basic HTTP auth, but does not work with QGIS.
|
||||
This is from a limitation of express-basic-auth.
|
||||
`adapt.js` converts url-passed auth credentials into the basicauth server, I will refactor these in the future to use a `.env` file and better coding standards.
|
||||
|
||||
Reference in New Issue
Block a user