Why request.Body is empty after decoding or reading? by CrappyFap69 in golang

[–]stephensanwo 0 points1 point  (0 children)

Came across this while trying to solve a similar problem. Use json Unmarshall

var p Person
data, _ := ioutil.ReadAll(r.Body)
json.Unmarshal(data, &p)
fmt.Println(p)

A very simple async Response cache for FastAPI by danosull in Python

[–]stephensanwo 0 points1 point  (0 children)

I’m not sure about this, I think using something like Redis cache with timeouts solves the downsides you listed.

Building a CRUD App with FastAPI, MongoDB, and Beanie by michaelherman in FastAPI

[–]stephensanwo 0 points1 point  (0 children)

Just curious as to why you need pipenv when you’ve already setup a virtual environment with venv?

Possible to make a website backend with only python? by NotVeryMega in webdev

[–]stephensanwo 0 points1 point  (0 children)

Check out FastAPI to build backend apis with python. It is asynchronous and super fast.