Report
Report
curl https://jsonplaceholder.typicode.com/todos/1
Example of API Call
3. The response from the API will be displayed in the terminal, which should be a
JSON object representing a todo item:
{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
}
API Authentication
• APIs may require authentication to access protected
resources.