Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
How to replace a link in the http.get to the one that came with the server in a loop? - bug-code.com Q&A

How to replace a link in the http.get to the one that came with the server in a loop?

0 like 0 dislike
12 views
Has an api which returns the link. After returned an answer, you need to do to get in a new link and so many times, it is necessary to cycle.
While we've managed to do through the interval and recursion, but it's not quite right.
With promises not understood, it is possible to do without them?
asked by | 12 views

1 Answer

0 like 0 dislike
No promises will not work. With the promises this problem is easily solved. More specifically you can answer if you write code that you have now
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

13.3k users

24,788 questions
46,220 answers
0 comments
13,321 users