[SOLVED] Authorization token usage clarification

Hello everyone,

I am facing a similar issue. Can someone help?

Request:

`POST /api/v4/posts HTTP/1.1
Host: 192.168.1.6:8065
Content-Type: application/json
Authorization: Bearer mchfahrf438ruqz81bq8ntuofy
cache-control: no-cache
Postman-Token: 48505faf-8ebe-4fba-bdc7-50927f7944cb

{
“channel_id”: “n717dzbmm789f8r5xmrjqikx3y”,
“message”: “Hello there…”,
“props”: {
“attachments”: [
{
“pretext”: “Wassup?”,
“text”: “sup”
}
]
}
}`

Response:
{"id":"api.context.session_expired.app_error","message":"Invalid or expired session, please login again.","detailed_error":"","request_id":"btojsoi3oj83fg1a5qgopcfpta","status_code":401}