Answer the following comprehension questions within this file. Write your answer next to the line that says "Answer:".
At the end of this reflection, don't forget to commit and push your answers. Otherwise, instructors won't be able to see your work.
- Describe a GET request that your project makes, and the high-level description of what it does
- Answer:
- What is the verb of this request?
- Answer:
- What is the path (or the URL, or endpoint) of this request?
- Answer:
- What are the query params (the additional data sent with the request, besides the verb and the path)?
- Answer:
- What is the syntax used to make this request? (Copy and paste a code snippet here)
- Answer:
# Copy and paste your answer below this comment # Copy and paste your answer above this comment
- Answer:
- What does the program do if the response comes back with a status code of 200?
- Answer:
- What does the program do if the response does not come back with a status code of 200?
- Answer:
If your project does not make a POST request, read through Wave 3 on the original Slack CLI, and research and answer questions 1, 2, 3, 4, 6, and 7.
- Describe a POST request that your project makes, and the high-level description of what it does
- Answer:
- What is the verb of this request?
- Answer:
- What is the path (or the URL, or endpoint) of this request?
- Answer:
- What are the query params (the additional data sent with the request, besides the verb and the path)?
- Answer:
- What is the syntax used to make this request? (Copy and paste a code snippet here)
- Answer:
# Copy and paste your answer below this comment # Copy and paste your answer above this comment
- Answer:
- What does the program do if the response comes back with a status code of 200?
- Answer:
- What does the program do if the response does not come back with a status code of 200?
- Answer:
Imagine this situation: A human user, Grace, opens up Terminal and runs in the command line $ ruby lib/slack.rb. When the program runs, she types "list channels."
There are two actors:
- the human user, Grace, and their computer that runs
slack.rb - Slack API
Based on the project requirements, when Grace enters "list channels,"
- What is the request being made in the program?
- Answer:
- Who is the client?
- Answer:
- Who is the server?
- Answer:
If your reflection inspired you to make minimal changes to your Slack CLI implementation (more project requirements or refactoring) then do so now, and describe what you did in a few sentences.
Spend no more than 3 hours on this step.
Do not write or add more than 50 lines of code (including tests).
Push your changes to GitHub from your original Slack CLI Program.
Answer: