Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Ionic Cordova API Authorisation 401

$
0
0

Ionic application developed in angular 9 combination.

While Authenticating API using header value, application working fine in Android and Web. Same code not working in iOS and giving 401 error.

First i have tried with import { HttpClient, HttpErrorResponse, HttpHeaders, HttpParams } from '@angular/common/http';

Worked in Web and Android, not worked in iOS, In iOS getting 401 error.

Then i integrated import { HTTP } from '@ionic-native/http/ngx'; and tried API call same result.

401 error

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>