Application based APIs Calls Getting 403 Forbidden #6560
-
I have installed Enterprise AMS on Ubuntu server, and it's up and running. But when it comes to Application calls, it gives me 403. I am trying to use postman and provide JWT Token for Authorization. Please help me how to resolve this issue. I am attaching the screen shot for reference curl --location 'https://studio.taharyuko.com:5443/rest/v2/broadcasts/create?autoStart=false' <!doctype html><title>HTTP Status 403 – Forbidden</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style> HTTP Status 403 – ForbiddenType Status Report Message Not authenticated user Description The server understood the request but refuses to authorize it. Apache Tomcat/10.1.19Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@syed-MTalha Please review the guide below for more details on JWT tokens. In the meantime, I will test this on my side and get back to you. |
Beta Was this translation helpful? Give feedback.
@syed-MTalha Please use the API using the below parameters and headers. Its passing fine for us.
Note-
Request Type: POST
URL: https://test.antmedia.io:5443/test/rest/v2/broadcasts/create
Headers:
Body (raw JSON):
{
"name": "StreamName"
"streamId": "123456"
}
Do let me know if this works for you. Will look forward to hearing from you.