Skip to content

02 - Check out an API response #45

@BaselAdoum

Description

@BaselAdoum

Why are we Why are we doing this?
This task will get you to really think about the response you get back from an API. Use Chrome Dev Tools to examine the response you get back from the server.

Look at a request in Chrome Dev Tools
In Google Chrome, open dev tools network tab and enter this URL into the browser: http://api.tvmaze.com/shows/82/episodes.

Answer the following questions:
What's the status code the server sent back?
What HTTP method did the browser use to make the request?
What is the request path?
What is the first line of the response body?
What is the value of the response header called "Content-Type" ?
What is the value of the request header called "User-Agent"
How to submit
Share your answers with the other learners on Slack.
Did you get different answers to other people? Ask them how they worked them out!doing this?
This task will get you to really think about the response you get back from an API. Use Chrome Dev Tools to examine the response you get back from the server.

Look at a request in Chrome Dev Tools
In Google Chrome, open dev tools network tab and enter this URL into the browser: http://api.tvmaze.com/shows/82/episodes.

Answer the following questions:
What's the status code the server sent back?
What HTTP method did the browser use to make the request?
What is the request path?
What is the first line of the response body?
What is the value of the response header called "Content-Type" ?
What is the value of the request header called "User-Agent"
How to submit
Share your answers with the other learners on Slack.
Did you get different answers to other people? Ask them how they worked them out!

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions