I am developing an Ecommerce mobile application with Magento backend. When I try to call API from ionic 2 I am getting
XMLHttpRequest cannot load http://amaz4u.com/index.php/rest/V1/customers. Response for preflight has invalid HTTP status code 400
I am getting proper response in postman but when I call from ionic2, getting above error.
Kindly provide me a solution for this.