Im having problem on the API request,
Im having Cross Origin Error
Build it using ionic cap build android --targe=<device id>
Already tried
- adding proxy on
ionic.config.json
and changes the baseURL toapi/v1
but it return 200 status but it does not connect to the api only blank white page - Added headers to the php also but still no luck
- Added headers to axios also
PHP
This is the API Call when I did not add baseUrl to axios baseURL but it displays empty and Im guessing it does not connect to the API
3 posts - 2 participants