Closed karianmash closed 1 year ago
fetch(https://jsonplaceholder.typicode.com/users/11) .then((response) => response.json()) .then((data) => { console.log('User fetched successfully:', data); }) .catch((error) => { console.error('Error:', error); });
https://jsonplaceholder.typicode.com/users/11
When I create a new user, I am unable to retrieve them with their ids. I am only able to retrieve those initial 10 users by their ids
fetch(
https://jsonplaceholder.typicode.com/users/11
) .then((response) => response.json()) .then((data) => { console.log('User fetched successfully:', data); }) .catch((error) => { console.error('Error:', error); });When I create a new user, I am unable to retrieve them with their ids. I am only able to retrieve those initial 10 users by their ids