Skip to content

auth0-blog/flask-restful-apis

Repository files navigation

Developing RESTful APIs with Python and Flask

This repository contains code created throughout the "Developing RESTful APIs with Python and Flask" article.

Check it out for more info!

Running the API

To run this application, you will need Python 3+ and UV installed locally.

./bootstrap.sh

Then you can issue requests to your API. For example, with curl, you can issue requests like that:

# inserting a new income
curl -X POST -H "Content-Type: application/json" -d '{
    "amount": 300.0,
    "description": "loan payment"
}' http://localhost:5000/incomes

# listing all incomes
curl http://localhost:5000/incomes

About

Project created throughout the "Developing RESTful APIs with Python and Flask" article.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •