404 Error for API calls
Options
Hi,
I have set up a simple login form using angular and ionic framework. When the user submits their credentials it will call the OTDS rest api for authentication: http://server:8080/otdsws/rest/authentication/credentials. This call works fine for me on Advanced Rest client, but it gives me a 404 error when I test on my android device. Has anyone had similar issues?
Thanks,
Sean
Tagged:
1
Comments
-
I solved this by installing the whitelist plugin for cordova. Then I added the proper meta tags in my index.html file and the API calls started working on my android device. This is for anyone who is looking at using ionic + angular to build apps.
https://github.com/apache/cordova-plugin-whitelist#content-security-policy
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 102 General Questions
- 123 Services
- 40 OpenText Hackathon
- 33 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 901 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 127 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax