I want to fetch an external, third-party api from client side. But the feed is huge (160,000 objects in one array) I have no control over the external api.
Is it possible to set a max-limit, to amount of bytes maybe? So I could fetch about 50,000 objects in this case? Cause it is loading way too long
I have been reading about axios and the maxContentLength and maxBodyLength but without any luck - it doesn't have any effect.
Also, the api doesn't support any pagination like ?size=20&page=1
So it is possible using XMLHttpRequest, I could tell in the comments. But is the same solution possible using fetch function? Since we don't have this e.loaded