Complete the code to select only the 'name' field in the API request.
GET /users?fields=[1]Using fields=name tells the API to return only the 'name' field for each user.
Complete the code to select both 'name' and 'email' fields in the API request.
GET /users?fields=[1]The fields parameter uses commas to separate multiple fields. So fields=name,email selects both 'name' and 'email'.
Fix the error in the code to correctly select the 'title' field for posts.
GET /posts?fields=[1]To select only the 'title' field, use fields=title. Using semicolons or multiple fields selects more than just 'title'.
Complete the code to select 'id' and 'username' fields for users.
GET /users?fields=[1],usernameid and , before 'username' are needed.Complete the code to select 'author', 'date', and 'summary' fields for articles.
GET /articles?fields=[1],date,summary