2
I’m in a strange trouble and he’s just like that:
I’m consuming the instagram API and it happens this happening the following thing:
- The return is displayed in the network tab of devtools, but in the callback of the request, be it done with Xmlhttprequest, fetch, jQuery.get, etc.. nothing is shown at all.
- In fetch api the following error is shown: Typeerror: Failed to fetch
How to solve this problem where, the return exists but I can’t catch it in the request callback?
Code that executes the call in the instagram api:
Put the js code where you run the call in the api.
– Tom Melo
I updated the code
– Pedro Soares