Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

[SOLVED] Authorization token usage clarification

$
0
0

I am doing it like this but still getting the same error.

@Headers("X-Requested-With: XMLHttpRequest")
@GET("/api/v3/teams/{teamID}/channels/")
Promise<User> getChannels(
        @Header("Authorization: Bearer ") String token,
        @Path("teamID") String tid);

Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>