Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplification and https support #1

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

benjay10
Copy link

The tunnel is now simpler: just send your request to this tunnel like you would to the external service directly.
It also supports calls to services that use https. (I don't know why the previous version was only able to send http requests.)

“[BenJay10]” added 15 commits November 23, 2021 00:59
Only one peer in the config, no dependence on fs-extra, and some cosmetic changes.
Testing showed correct results for GET, POST (should be correct for any
method), all and custom headers, bodies in JSON and strings, URL
parameters.
Beware, using https involves setting up certificates. When using
self-singed certificates, you might have to force Node to not dismiss
them.
Also collected config at the top of the file.
This feature was first removed, but now brought back. Yey for
communication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant