API Endpoint to get info about a tunnel #178

Closed
opened 2022-06-19 16:55:31 +00:00 by Arnolxu · 2 comments
Arnolxu commented 2022-06-19 16:55:31 +00:00 (Migrated from github.com)

Something like /api/tunnel/<subdomain> would be nice to learn if the tunnel exists and what's the port if it exists.

Something like `/api/tunnel/<subdomain>` would be nice to learn if the tunnel exists and what's the port if it exists.
TheBoroer commented 2022-06-20 03:51:47 +00:00 (Migrated from github.com)

I believe that already exists here

Have a look at: /api/tunnels/<subdomain>/status when you're connected

I believe that already exists [here](https://github.com/localtunnel/server/blob/master/server.js#L39) Have a look at: `/api/tunnels/<subdomain>/status` when you're connected
Arnolxu commented 2022-06-20 23:20:05 +00:00 (Migrated from github.com)

Oh, thanks! I thought it didn't exist because it wasn't documented in README.md.

Oh, thanks! I thought it didn't exist because it wasn't documented in README.md.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hoelee/server#178