Creating a client
Standalone (creates its own HTTP connection pool):PauboxClient):
Get a form
Retrieve a form’s metadata, field schema, and rendered HTML/CSS:Form fields:
| Field | Type | Description |
|---|---|---|
title | String | Display name of the form |
form_json | Option<serde_json::Value> | Parsed field schema |
form_html | Option<String> | Rendered HTML for embedding |
form_css | Option<String> | Associated stylesheet |
active | bool | Whether the form is accepting submissions |
submission_count | u64 | Number of submissions received |
Submit a form
Build aFormSubmission and call submit_form:
submit_form returns Ok(()) on success (HTTP 201).
Submitting with file attachments
The maximum total request size is 250 MB.FormAttachment::from_bytes base64-encodes automatically: