ipify-api
ipify-api copied to clipboard
Network Errors with Axios in Instagram WebView on iPhone (Mobile Safari UI/WKWebView)
Hi everyone,
I'm experiencing frequent Network Error
when using Axios to fetch data from the ipify API within Instagram's WebView on iPhone (Mobile Safari UI/WKWebView).
Here’s the code snippet I’m using:
const response = await axios.get('https://api.ipify.org?format=json');
I'm implementing a retry mechanism, but I suspect this won’t fully resolve the issue. Has anyone encountered similar behavior or know what might be causing this? Any suggestions on how to address it would be greatly appreciated!
Thanks in advance for your help.