jolicode / jolicode/slack-php-api
authRevoke should be POST not GET?
Open
- Dominant language
- PHP
- Stars
- 255
- Forks
- 62
- Avg merge
- 1h 45m
- Merged PRs (30d)
- 1
Description
The Slack API [documentation ](https://api.slack.com/methods/auth.revoke)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?
Contributor guide
Assessment
This issue has not been assessed yet.