Jump to content
  • 0

Management Rest Api 403 Forbiden


Fatih Alpay
 Share

Question

Hi we are running AntMedia in AWS 

we are trying to use management rest api services but we are getting 403 forbidden 
  • Enterprise Edition 2.4.0.2 20210905_1241

Cors filter as below 

 <filter>

                <filter-name>CorsFilter</filter-name>

                <filter-class>io.antmedia.filter.CorsHeaderFilter</filter-class>

                <init-param>

                  <param-name>cors.allowed.origins</param-name>

                  <param-value>*</param-value>

                </init-param>

                <init-param>

                  <param-name>cors.allowed.methods</param-name>

                  <param-value>GET,POST,HEAD,OPTIONS,PUT,DELETE</param-value>

                </init-param>

                 <init-param>

                        <param-name>cors.allowed.headers</param-name>

            <param-value>Accept, Origin, X-Requested-With, Access-Control-Request-Headers, Content-Type, Access-Control-Request-Method, Authorization</param-value>

         </init-param>

        </filter>

 

 

 

 

 

 

Could you please let me know how to use management rest api over postman or any curl service to embed our application. 

 

 

Thanks

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

Hi Fatih,

Hope you are fine.

Yes, you have to authenticate the user and also you can disable the authentication filter but it is not the recommended way. You can check the answer of this question on stack overflow from one of my colleague.

We will update the REST guide document regarding management rest API.

 

Regards,

Yash

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...