Last active
April 30, 2021 11:29
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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