I am building some small scale application with fastApi(newbie) and python. I am trying to add post request to my application but everytime i try to make a post request it shows invalid header with 400 status (bad request), Can anyone help me resolve this?
below is my method for post request-
<code>@router.post("/test")
async def test():
return "foofle"
</code>
<code>@router.post("/test")
async def test():
return "foofle"
</code>
@router.post("/test")
async def test():
return "foofle"
i get following response
1