That helped a lot. I thought because I'm parsing value to parameters I don't need global variables. But, is it possible to call another async function inside an async function?
How to make an API Call to retrieve some JSON data
-
Hello!
I want to achieve the following:
- Make a call to https://api.getproxylist.com/proxy
- Retrieve the JSON data
- Parse it
- Affect the results to some global variables.
What is the simplest way to achieve it?
Many thanks for your kind help!
-
@jalouk said in How to make an API Call to retrieve some JSON data:
Hello!
I want to achieve the following:
- Make a call to https://api.getproxylist.com/proxy
- Retrieve the JSON data
- Parse it
- Affect the results to some global variables.
What is the simplest way to achieve it?
Many thanks for your kind help!
Please follow the HTTP Guide found here to learn more about the HTTP Client.