Skip to content

Instantly share code, notes, and snippets.

@jamescalam
Created August 29, 2020 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamescalam/94e80cf543511aa8a56a0ae03ee12c94 to your computer and use it in GitHub Desktop.
Save jamescalam/94e80cf543511aa8a56a0ae03ee12c94 to your computer and use it in GitHub Desktop.
Snippet showing endpoint setup with Flask APIs.
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