Skip to content

Commit ec42896

Browse files
committed
Change from accepting POST to GET requests
1 parent b356720 commit ec42896

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oshminer/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def process_repo(repo: HttpUrl, requests: list[str], responses: list):
5555
)
5656
responses.append(repo_info)
5757

58-
@app.post(
58+
@app.get(
5959
"/data/",
6060
name = "API endpoint",
6161
description = "Primary endpoint for requesting data."

0 commit comments

Comments
 (0)