Hi,
I try to test the RestAPI with the Advanced Rest Client of Google Chrome and I don't know how to list the channels of the team.
I tried this but it isn't working
GET http://localhost:8065/api/v3/teams/Team_ID/channels/
With Team_ID get by /teams/all.
I put in the Header:
Content-Type: application/json
Authorization: Baerer
This return me:
{
"id": "api.context.session_expired.app_error"
"message": "Invalid or expired session, please login again."
"detailed_error": "UserRequired"
"request_id": "a1qttj8a6tbbtgjc88rfzhfuqh"
"status_code": 401
"is_oauth": false
}
but I can always do other request like /teams/all