404 Error for API calls
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
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories