CodeYourFuture / CodeYourFuture/Module-Data-Flows

Check out an API response

未关闭
#30 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 1 Core Module-Data-Flows Submit:Slack
主要语言
JavaScript
星标
0
派生
275
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

打开 Chrome DevTools 的“Network”标签页,并请求 http://api.tvmaze.com/shows/82/episodes。检查 issue 中列出的请求和响应字段,然后在 Slack 上与其他学习者分享六个答案;所有问题都得到回答即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
api, documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。