I use curl to post revoke api, like this:
curl --location --request POST ‘http://containter.datahunter.cn:11000/oauth2/revoke’
–header ‘Content-Type: application/x-www-form-urlencoded’
–data-urlencode ‘token=AwxH2rfJKzye5pQ8mmU-9PEpfDKc_QTyTQ2rmgKxWQk.F8q7GWkGFf_gKY1FrFEep8HqMeW6sGUjwrn8bs1Ta2M’
–data-urlencode ‘token_type_hint=refresh_token’
but, i get error:
{
“error”: “invalid_request”,
“error_description”: “The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed”,
“error_hint”: “Make sure that the various parameters are correct, be aware of case sensitivity and trim your parameters. Make sure that the client you are using has exactly whitelisted the redirect_uri you specified.”,
“status_code”: 400
}