jolicode/slack-php-api

authRevoke should be POST not GET?

priit-matiisen-scoro opened this issue · 0 comments

The Slack API documentation states GET is the preferred way, but

$client->authRevoke([ 'token' => $token, ]);

will result in "invalid_auth"

I tried with curl and the POST request works fine

curl https://slack.com/api/auth.revoke -X POST --header "Authorization: Bearer xxx-xxxx-xxxxxxx"

Can someone confirm the issue?