Documentation

Expose a local HTTP service

These commands mirror the current Mockingo CLI. Use a lowercase name between 3 and 40 characters; it becomes your stable public hostname.

1

Sign in through your browser

Configure the public OAuth issuer and client ID for your Mockingo environment, then start the PKCE browser flow.

mockingo login
2

Expose the local port

Assign a stable name and point Mockingo at the HTTP port already listening on your machine.

mockingo expose --name my-api --http 8080
3

Use the public endpoint

When the tunnel is ready, requests to the stable hostname are forwarded to 127.0.0.1:8080.

https://my-api.mockingo.click