CodeYourFuture / CodeYourFuture/Module-Data-Flows

Check out an API response

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 1 Core Module-Data-Flows Submit:Slack
Dominant language
JavaScript
Stars
0
Forks
275
PR merge metrics
No merged PRs in 30d

Description

### Learning Objectives

- [ ] Extract important information from an HTTP response

### 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:

1. What's the status code the server sent back?
2. What HTTP method did the browser use to make the request?
3. What is the request path?
4. What is the first line of the response body?
5. What is the value of the response header called "Content-Type" ?
6. What is the value of the request header called "User-Agent"

### Maximum time in hours

.5

### 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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.