Closed HIRANO-Satoshi closed 6 years ago
I added https support.
Server example
./bin/wof-pip-server -https -cert-file localhost.crt -key-file localhost.key -port 8300 -mode sqlite ~/whosonfirst-data-sqlite/whosonfirst-data-latest.db
Client example
curl --insecure 'https://localhost:8300?latitude=36.1&longitude=140.08' | python -mjson.tool
Since this has a bug, I would like to withdraw this PR.
It shows an error without the -https option. We could use a reverse proxy for https access.
I added https support.
Server example
Client example