diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-13 17:56:03 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-07-13 17:56:03 +0300 |
commit | 3648dfa13304a4bffea95b2da27d40aaf709883d (patch) | |
tree | d174358eb6140a95854f086489f8aca6a821126b /appinfo | |
parent | 6b73c1da675100fed646161398aac088e78c9f5a (diff) |
Use POST to update the ping
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 9c923598c..79e71cbeb 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -65,8 +65,8 @@ return [ ], [ 'name' => 'Call#pingCall', - 'url' => '/api/{apiVersion}/call/{token}', - 'verb' => 'PUT', + 'url' => '/api/{apiVersion}/call/{token}/ping', + 'verb' => 'POST', 'requirements' => [ 'apiVersion' => 'v1', 'token' => '^[a-z0-9]{4,30}$', |