GET /users?city="Seattle"
GET /users/{userId}
GET /users
So what im trying todo is that if they do a GET they can either find users by there city or by there ID or if they just do users they get all the users.
class Users(Resource):
def get(self,id=None):
if id is None:
#this return all users
else:
#this returns a user with specfic id
#the next part im trying todo is return all users from a specfic city