Providing parameters as `x-www-form-urlencoded`
I have worked on a log-out for my Cawbird rewrite. This requires a call to (in this case) Twitter to ask to revoke the access token, using the oauth2/revoke
1 method. This method requests that additional parameters are passed on under the content type of application/x-www-form-urlencoded
, which is why in the example using curl
the argument --data-urlencode
is used.
Attempting to use a ProxyCall
to call this function results in an Forbidden
. Since Twitter don't provide more information, I assume it has to do with librest
not providing the parameters as the function expects.
So, the question is if there is a way to provide parameters similar to what --data-urlencode
in curl
does.