Skip to main content

handle_validate

Function handle_validate 

Source
pub async fn handle_validate(
    req: HttpRequest,
    body: String,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/validate — validate an entity against the ontology.