request params is not support
See original GitHub issueFirst Check
- I added a very descriptive title to this issue.
- I used the GitHub search to find a similar issue and didn’t find it.
- I searched the FastAPI documentation, with the integrated search.
- I already searched in Google “How to X in FastAPI” and didn’t find any information.
- I already read and followed all the tutorial in the docs and didn’t find an answer.
- I already checked if it is not related to FastAPI but to Pydantic.
- I already checked if it is not related to FastAPI but to Swagger UI.
- I already checked if it is not related to FastAPI but to ReDoc.
Commit to Help
- I commit to help with one of those options 👆
Example Code
class Item(BaseModel):
name: str
age: int
height: float
app = FastAPI()
@app.get("/hh")
async def update_item(item: Item): # item需要与Item对象定义保持一致
return {
"method": 'get',
"people_name": item.name,
"people_age": item.age,
"people_height": item.height
}
Description
this request method is GET
if i request this function by postman ,
so that is not support
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.63.0
Python Version
Python 3.10.0
Additional Context
emo
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
Parameter not supported! - Common causes and quick fixes
A detailed guide on how to resolve errors related to "parameter not supported!"
Read more >The 'resource' request parameter is not supported. - IBM
In Cognos Configuration, when you attempt to create and test an OIDC connection to AzureAD, the following error appears: [ ERROR ] Call...
Read more >Dynamics 365 - The 'resource' request parameter is not ...
AADSTS901002 : The 'resource' request parameter is not supported. The original URL generated by Mule Connector looks like the following:
Read more >Request method 'POST' not supported when use ...
When i change method to GET, i get this error: Required String parameter 'guestName' is not present. How to fix this? java ·...
Read more >'params' argument does not accept custom query string #917
I think passing params without values should be supported by params parameter. Currently setting param's value to None in params dict makes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@insomnes @yztdemo