experiment
This commit is contained in:
parent
9a2c8cc712
commit
3cd5f255ec
@ -12,7 +12,7 @@ class API extends Application
|
||||
@path: "/v1"
|
||||
@name: "api_"
|
||||
|
||||
@before_filter( capture_errors_json json_params =>
|
||||
@before_filter( api_request =>
|
||||
-- TODO implement Authorization: api_key VALUE as acceptable method to send api_key
|
||||
yield_error "api_key not specified!" unless @params.api_key -- this does not seem to be triggering!!!
|
||||
@api_key = APIKeys\find key: @params.api_key
|
||||
|
Loading…
Reference in New Issue
Block a user