Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

rpc Action

Use rpc to send the page's variables to the backend in an HTTP POST.

Specify the URL of the backend endpoint.

If the backend returns HTTP 422 Unprocessable Content with a text/plain body, the frontend displays the body to the user in an error screen.

Example POST

Examples

# Ruby
rpc("/login")
#![allow(unused)]
fn main() {
// Rust
rpc("/login")
}