Skip to content

Commit

Permalink
Post Method
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshhewabi committed Sep 30, 2023
1 parent 443b3be commit b71c7ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/routes/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
main_router = APIRouter()


@main_router.get("/parse/{px_accession}", tags=["Main"])
async def parse(px_accession: str, temp_dir: str | None = None, dont_delete: bool = False,
session: Session = Depends(get_session)):
@main_router.post("/parse/{px_accession}", tags=["Main"])
async def parse(px_accession: str, temp_dir: str | None = None, dont_delete: bool = False):
if temp_dir:
temp_dir = os.path.expanduser(temp_dir)
else:
Expand Down

0 comments on commit b71c7ed

Please sign in to comment.