Jump to content
  • 0

RE: 404 - On Creating New Application


Amir Hazan
 Share

Question

I cant understand, there is no way to do it with the rest API Via postman?

 

Regards,

Amir

 

From: 'Yash Tandon' via Ant Media Server <ant-media-server@googlegroups.com>

Sent: Wednesday, 1 December 2021 21:22

To: Ant Media Server <ant-media-server@googlegroups.com>

Subject: Re: 404 - On Creating New Application

 

Hi Amir,

You need to authenticate first to call management Rest API or you can disable the authentication filter.

You can refer below post answered by my colleague.

https://stackoverflow.com/questions/64444673/ant-media-dashboard-settings-through-rest-api 

 

Regards,

Yash

On Wednesday, December 1, 2021 at 10:05:40 PM UTC+5:30 am...@omnistream.live wrote:

Unable to create new application with rest API - getting 404 message

"/v2/applications/{appName}"

 

trying to understand what I'm missing... 

--

You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/zGYkashJYFk/unsubscribe.

To unsubscribe from this group and all its topics, send an email to ant-media-server+unsubscribe@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f48b9fd0-bac2-4622-92d0-b4eb4680eb27n%40googlegroups.com.

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

Ok, thanks!

 

And after that I can use the API to create or edit applications settings?

 

Best

Amir Hazan

 

From: 'Yash Tandon' via Ant Media Server <ant-media-server@googlegroups.com>

Sent: Thursday, 2 December 2021 15:26

To: Ant Media Server <ant-media-server@googlegroups.com>

Subject: Re: 404 - On Creating New Application

 

Hi Amir

You can disable authentication by commenting out the following lines below from /usr/local/antmedia/webapps/root/WEB-INF/web.xml and you can use IP filtering for accessing the REST API as documented here

   <filter-name>AuthenticationFilter</filter-name>

                <filter-class>io.antmedia.console.rest.AuthenticationFilter</filter-class>

        </filter>

 

        <filter-mapping>

                <filter-name>AuthenticationFilter</filter-name>

                <url-pattern>/rest/*</url-pattern>

        </filter-mapping>

 

After that you can call the management REST API from postman.

 

Regards,

Yash

 

On Thursday, December 2, 2021 at 2:08:20 AM UTC+5:30 am...@omnistream.live wrote:

I cant understand, there is no way to do it with the rest API Via postman?

 

Regards,

Amir

 

From:
'Yash Tandon' via Ant Media Server <
>

Sent:
Wednesday, 1 December 2021 21:22

To:
Ant Media Server <
>

Subject:
Re: 404 - On Creating New Application

 

Hi Amir,

You need to authenticate first to call management Rest API or you can disable the authentication filter.

You can refer below post answered by my colleague.

 

 

Regards,

Yash

On Wednesday, December 1, 2021 at 10:05:40 PM UTC+5:30
wrote:

Unable to create new application with rest API - getting 404 message

"/v2/applications/{appName}"

 

trying to understand what I'm missing... 

--

You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.

To unsubscribe from this topic, visit
.

To unsubscribe from this group and all its topics, send an email to
.

To view this discussion on the web visit
.

--

You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/zGYkashJYFk/unsubscribe.

To unsubscribe from this group and all its topics, send an email to ant-media-server+unsubscribe@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/7542a3e7-9957-4214-aa74-ea07bb9fe108n%40googlegroups.com.

Link to comment
Share on other sites

 Share

×
×
  • Create New...