HarborClient plugin that runs a local httpbin-style HTTP echo server inside the app.
- Footer panel Echo server with port configuration, start/stop controls, and a request script editor
- Status indicator in the footer bar showing whether the server is active
- Optional request script using the same
hcAPI as collection pre-request scripts - Sets the global variable
echoBaseUrl(for examplehttp://localhost:4335) when the server starts
ui— footer panel, status bar item, and host global variable commandipc— renderer ↔ main coordination for start/stop/statusserver— local express echo server in the Electron main process
pnpm install
pnpm buildLoad the unpacked plugin directory from HarborClient Settings → Plugins → Load unpacked.
When the script returns a value, that JSON is sent as the response body. When it returns nothing (or is empty), the server responds with the default echo payload:
args,data,files,form,headers,json,origin,url
Example:
hc.request.method;
// return custom body:
({ message: 'hello', method: hc.request.method });