Skip to main content

Proxy `POST /rpc/call` to the MOD service's local HTTP server.

POST 

/rpc/call

The caller specifies modName and method in the JSON body, along with an optional body field that is forwarded to the MOD service.

Error codes:

  • 503 — MOD not registered (not yet started or crashed)
  • 404 — method unknown for this MOD
  • 504 — MOD service timed out
  • 502 — MOD service refused the connection

Request

Responses

RPC method response (JSON)