Created
August 29, 2020 09:20
-
-
Save jamescalam/94e80cf543511aa8a56a0ae03ee12c94 to your computer and use it in GitHub Desktop.
Snippet showing endpoint setup with Flask APIs.
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): | |
# methods go here | |
pass | |
api.add_resource(Users, '/users') # '/users' is our entry point |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment