How to use JWT with RESTful?
It works
@app.route('/test_route')
@jwt_required()
def protected():
return '%s' % current_identity
But what to do in this case?
api.add_resource(testApi, '/test_api')
I cannot find this case in the Flask-JWT documentation