Skip to content

Instantly share code, notes, and snippets.

@aveek22
Last active April 30, 2021 11:29
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save aveek22/9010691c8cd6318dd941f1001634d762 to your computer and use it in GitHub Desktop.
class Users(Resource):
# Write method to fetch data from the CSV file
def get(self):
pass
def post(self):
# Write method to write data to the CSV file
pass
def delete(self):
# Write method to update data in the CSV file
pass
# Add URL endpoints
api.add_resource(Users, '/users')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment