mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
forwarding params for the default GET forwarder
This commit is contained in:
@@ -118,7 +118,8 @@ def search_people():
|
||||
@app.route('/<path:path>', methods=['GET'])
|
||||
def catch_all_get(path):
|
||||
API_URL = BASE_API_URL + '/' + path
|
||||
return forwarded_get(API_URL)
|
||||
params = dict(request.args)
|
||||
return forwarded_get(API_URL, params = params)
|
||||
|
||||
@app.route('/<path:path>', methods=['POST'])
|
||||
def catch_all_post(path):
|
||||
|
||||
Reference in New Issue
Block a user