Skip to main content

create_eab

Function create_eab 

Source
pub async fn create_eab(
    __arg0: State<AdminState>,
    session: PageSessionWrite,
    request_context: RequestContext,
    __arg3: Form<CreateForm>,
) -> Result<Response, PageError>
Expand description

POST /ui/eab

Answers 201 with the one-time secret, and refreshes the list underneath out of band — the new row would otherwise only appear on a reload, which is exactly when the secret would be gone.