Amir Hazan Posted December 1, 2021 Share Posted December 1, 2021 Unable to create new application with rest API - getting 404 message "/v2/applications/{appName}" trying to understand what I'm missing... Link to comment Share on other sites More sharing options...
0 Yash Posted December 1, 2021 Share Posted December 1, 2021 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 Link to comment Share on other sites More sharing options...
0 Yash Posted December 2, 2021 Share Posted December 2, 2021 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 Link to comment Share on other sites More sharing options...
Question
Amir Hazan
Unable to create new application with rest API - getting 404 message
Link to comment
Share on other sites
Top Posters For This Question
2
1
Popular Days
Dec 1
2
Dec 2
1
Top Posters For This Question
Yash 2 posts
Amir Hazan 1 post
Popular Days
Dec 1 2021
2 posts
Dec 2 2021
1 post
2 answers to this question
Recommended Posts