I’m dealing with CORS issues when developing while trying to reach an API endpoint. I’ve set-up a proxy via the ionic.properties so the CLI can handle the requests.
The main problem here is, the API I’m trying to access cannot respond correctly to a trailing slash that’s being added by the CLI.
While my proxy config says “http://domain.com/api.asmx/method”, the request is being done as “http://domain.com/api.asmx/method/” (note the trailing slash) and the endpoint responds as “method/” not found (note again the trailing slash).
Any thoughts? This looks like a bug to me.