api-server-flask icon indicating copy to clipboard operation
api-server-flask copied to clipboard

Flask API Server - Open-Source API Server | AppSeed

Results 3 api-server-flask issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi , I added a simple route to the routes.py file ``` @rest_api.route('/hellos') class TestProcedure(Resource): def get(self): hello = {"hello": "test"} return jsonify(hello) ``` I also tried ``` @rest_api.route('/hellos') class...

The `current_user` is passed into the decorated function first, switching places with `self`: https://github.com/app-generator/api-server-flask/blob/748432027dcdb512cf76a6b45100db2c2c3ef1eb/api/routes.py#L76 A possible fix would be to retain the first param in the inner decorator function: ```python3...

If you could add GET routes, which actually pull/return data from DB (maybe user ID number?) on the default dashboard page, that would help tremendously; to extend to presenting other...