This is code I made for testwarez preso about fuzzing Rest APIs.
First start vulnerable server or other target you want to break like http-server (brew install http-server).
pip install Flask-API
pip install Flask
PORT=5000 python vulnerable_server.py
Each mainX.py contains more and more complex scenario of usage.
pip install -r requirements.txt
python main<X>.py
Examine http://127.0.0.1:26000/ for report. When finished, ctrl-c process.
More docs: