Skip to content

Add HTTP backend #11

Merged
kreczko merged 4 commits intomainfrom
kreczko-web-backend
Dec 6, 2023
Merged

Add HTTP backend #11
kreczko merged 4 commits intomainfrom
kreczko-web-backend

Conversation

@kreczko
Copy link
Copy Markdown
Contributor

@kreczko kreczko commented Dec 6, 2023

This PR adds a new backend for HTTP.
The idea is that a web service can provide the checksum retrieval as long as it is of the form

@router.get("/checksum/{checksum_type}")
def checksum(path: str, checksum_type: str) -> PlainTextResponse:

--→ the path is taken as a parameter and the checksum type part of the URL.
Server URL and base path can be configured via the HttpSettings.

@kreczko kreczko merged commit 82ec83f into main Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant