How to Fix CORS Issues with Native HTTP Calls

preview_player
Показать описание

The training platform for everything Ionic!

#############################

#############################

You can also find me...

#############################
Рекомендации по теме
Комментарии
Автор

Please i have a problem with Cors since 2 week in my projet ionic wlth like WordPress backoffice, it is possible help me ???

secosolo
Автор

Hey, Thanks for all the videos that you have shared .

I am facing one problem with Cordova http and Form data to upload multiple files.

Do you know any workaround for it.

swanand
Автор

Hi, this is wonderful video but I'm issue is related to file upload from this plugin. It is not sending the file as FormData to serve. Can anyone help me to do this?

rahulmanariya
Автор

This works on IOS emulator??? becase my app works fine on web browser, but NOT in IOS emulator or device ... I tried so much and does'n work the HTTP Requests on my emulator or device...

CrackDeltaMX
Автор

Hi simon,
I'm using angular. When i post data there is an error raises Err_connection_Reset. But both angular and wep api is running

vetriselvan
Автор

Hey, Simon! Very nice video. What do you think of using a proxy? Some time ago I had the same problem and fixed it by adding the CORS-anywhere proxy at the beginning of the url. As far as I know it is possible to create your own proxy in order to be fast and stable. Do you think it is a good option for an app? (1. While building the app. 2. When you are ready and want to publish the app). What would you recommend?

KonstantinStanchev
Автор

Greetings Simon
Wonderful video yet again, thanks for the native http elaboration in the video
As there are httpinterceptors which works amazingly well with angular/commom/http requests...
However, can you help me with an example or a guide me towards an interceptor for nativehttp request because it doesnot seem to work with in similar manner

rohankoliyal
Автор

PRAISE YOU ARE I WAS ABLE TO SOLVE THAT CORS STIGMA. GREETINGS FROM PERU

miguelangelriosbuendia
Автор

> ng run app:serve --host=localhost --port=8100
[ng] - @ionic-native/core
[ng] See for further details.

[ERROR] ng has unexpectedly closed (exit code 127).

The Ionic CLI will exit. Please check any output above for error details.
This error is appearing. Please help

sunandainternational
Автор

on this line from(nativeCall).pipe which package should I import because this 'from' method is giving error

valentintinox
Автор

What if I can‘t do POST request from the app (running in the Browser via ionic serve) to a NestJS backend that already has cors enabled?

codehan
Автор

Hello, Simon! Great video as always. I'm having trouble with adaptive icons, since my square icon looks messy on some android devices. Do you have any tutorial about this topic? Thank you so much.

brunobaptista
Автор

Good Morning.
I compiled my app to the android platform and it does not bring the api data at all. I'm using ionic 4. By browser it works with a Chrome Cors extension.

RodrigoOliveira-tbdr
Автор

my old apps are working with similar api but now i build in ionic its getting error with cors. i apply native http but its showing cordova_not_available, please help asap

vikassaxena
Автор

I'm not using Cordova. How can we do this with capacitor. It's there any equivalent capacitor plugin ?

AmanSingh
Автор

The video is very clear, excellent. How can I create a button to exit the app?

hudamale-
Автор

I have error using angular community http with https in Android

migueljorquera
Автор

HI SImon, I'm using android and this plugin but the second invocation crashes my app

arnoldgamarra
Автор

hello Simon i can't find from() !!

hamzanaitboubker
Автор

HI Simon,
Can you point me to some resource to do the same via capacitor ?

samhatake