On Thu, Jun 8, 2023 at 9:12 PM Gabriel Huerta Araujo <[email protected]> wrote: > > Hi > > I am executing a perl script which executes a REST GET to get all token > users and sends an error:
Looking at the code, I do not see a way to retrieve all current users and tokens from the REST API. There is no GET method defined for the api/tokens endpoint: https://github.com/apache/guacamole-client/blob/master/guacamole/src/main/java/org/apache/guacamole/rest/auth/TokenRESTService.java > > '_rc' => '405', > '_headers' => bless( { > 'client-date' => > 'Fri, 09 Jun 2023 00:16:20 GMT', > 'title' => 'Estado > HTTP 405 – Method Not Allowed', > > > What seems to be the trouble? > The error is exactly what it indicates - you're trying to make a GET called to the api/tokens endpoint, and that particular endpoint does not allow GET requests. -Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
