Skip to navigation

Quickstart

View as Markdown

Quickstart

Goal: prove your laptop (or POS) can reach the Wash API.

You need:

  • The controller computer’s IP address (ask site IT / MCWW support if unsure)
  • Port 4444 (default)
  • A tool that can make HTTP calls (browser for GET, or Postman / curl / Insomnia)

Replace CONTROLLER_IP with the real address in every example below.

Stay on the site’s local network. If the call times out, you’re usually on the wrong Wi‑Fi/VLAN — not dealing with a broken wash.

1

Step 1 — Say hello

Open this URL in a browser, or run the curl command:

http://CONTROLLER_IP:4444/
curl http://CONTROLLER_IP:4444/

Good result: something like Hello World! Wash API Sample.

Bad result: timeout / connection refused → wrong IP, wrong network, or the Wash API service isn’t running.

2

Step 2 — Ask the API version

curl http://CONTROLLER_IP:4444/get_api_version

Good result: JSON with a version field (may look like 2.4.0 or a Docker tag).

{ "version": "2.4.0" }

If version is null, the box is running but APP_VERSION wasn’t set — still OK for connectivity.

See also: Get API Version.

3

Step 3 — Ping the controller

curl http://CONTROLLER_IP:4444/ping_controller

Good result (MCWW): JSON with online, site_code, and controller_version_number.

Good result (Washlink): JSON with online, null site/version fields, plus system_status.

If / worked but ping fails, the Wash API is up but it can’t talk to the PLC — different problem (IP of PLC, cables, mode, etc.).

See also: Ping Controller.

Checklist

  • I got a hello response from /
  • I got a version from /get_api_version
  • I got a ping response from /ping_controller

When all three work, go to Choose your mode.

Bookmark the base URL: http://CONTROLLER_IP:4444. Every endpoint hangs off that.