Skip to content

Server mode with HTTP API #6

@dogancanbakir

Description

@dogancanbakir

Expose classification as a local HTTP API:

dit serve --port 8080
curl -X POST http://localhost:8080/classify -d '{"url": "https://example.com/login"}'

Useful for integrating dit into existing pipelines and services without shelling out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions