Sobes.tech
Back to questions
Middle+
5

Write a function getUserProfile that takes a userId as an argument and fetches the user profile from the API endpoint "[link] The function should log the user profile if the fetch is successful, and log an error message if the fetch fails.

Companies where asked
IT OneIT One