Calling APIs is an important part of writing code on the internet. In this exercise, you will need to fetch data from an endpoint and ensure it was retrieved successfully.
string and error.io:println()).error has occurred, print the error message to the console.Calling APIs is an important part of writing code on the internet. In this exercise, you will need to fetch data from an endpoint and ensure it was retrieved successfully.
string and error.io:println()).error has occurred, print the error message to the console.