Whether the endpoint is up. Paths follow http://127.0.0.1:4445/{token}; see
the overview for the token, the reply format
and the errors.
Status#
GET /status
The server answers this one itself, without the page and without a session, as
soon as it listens: also before the app’s window has loaded its page. That is
the moment to start a session, which then waits for the page (see
New session). The end-to-end test
of the tauri-profile-manager example waits for this answer before it starts
BaseCase.
Response
Errors
| Status | error | When |
|---|---|---|
| 404 | unknown command | The path does not start with the token. |
| 403 | unknown error | The request has an Origin header. |
No answer at all (connection refused) means the endpoint is off or not
listening: the plugin is off in release builds unless SBRS_AUTOMATION turns
it on, and an app whose port is taken runs without the endpoint and says so on
stderr.