Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH ED] Check out an API response #35

Open
Dedekind561 opened this issue Apr 14, 2023 · 0 comments
Open

[TECH ED] Check out an API response #35

Dedekind561 opened this issue Apr 14, 2023 · 0 comments
Labels
🧠 Prep work Prep material to be completed before the live session 📅 JS3 This work belongs to JS3 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 📅 Week 1 Assigned during Week 1 of this module

Comments

@Dedekind561
Copy link
Contributor

Dedekind561 commented Apr 14, 2023

Link to the coursework

http://api.tvmaze.com/shows/82/episodes

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 trainees in your Buddy Group or on your Slack class channel.
Did you get different answers to other people? Ask them how they worked them out!

@Dedekind561 Dedekind561 added 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours 📅 JS3 This work belongs to JS3 labels Apr 14, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Module JS3 Apr 14, 2023
@Dedekind561 Dedekind561 added the 🧠 Prep work Prep material to be completed before the live session label Apr 14, 2023
@Dedekind561 Dedekind561 changed the title [TECH ED] <title> [TECH ED] Check out an API response Apr 14, 2023
@SallyMcGrath SallyMcGrath added the 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧠 Prep work Prep material to be completed before the live session 📅 JS3 This work belongs to JS3 🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours 🎯 Topic Programming Fundamentals Learning syntax: data types, functions, loops, expressions, etc 📅 Week 1 Assigned during Week 1 of this module
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants