Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6211

Why i have an error, when sending requests?

$
0
0

I have an error, when sending requests to api. It is https.

Error: [TypeError: Network request failed]

fetch(ServerLink + url +'?'+ endPoint, {        method: 'get',        headers: this.getHeaders(),    })        .then((response) => {           status = response.status;        })           }).catch((e) => {        console.log(e);        }

Viewing all articles
Browse latest Browse all 6211

Trending Articles



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