Closed Sovamorco closed 2 months ago
Imported from trello Original author: joshsteubs
From discord discussion:
https://fastapi.tiangolo.com/tutorial/query-params/#query-parameter-type-conversion
Looked into this a bit and seems like for query params that fastAPI will do much of this conversion for us.
http://127.0.0.1:8000/items/foo?short=True
So for this, if we set the type hints correctly, short gets converted to a bool when backend receives it in the query param.
not sure if i need repo access to assign myself here. currently dont see the option
create an api call that creates an active order based on params passed in from a form in the front end and inserts it into the active buy sell table
Imported from trello Members: joshsteubs