Now that we understand how applications can handle different URLs, we can write code that communicates with other applications. Let each partner try out their own user info to get the chance to see their repos with their token.
Submission Instructions
When you are finished with lab, follow these steps to submit your work. Create one Pull Request (aka: "PR") from your Forked repo to the CF repo with your changes, and you'll each submit that same PR link in Canvas.
Ensure that all your local changes are committed, and pushed to your origin repo.
Visit the origin repo on github.com, and ensure that all of your completed work has been merged to master via Pull Requests within your repo.
Create a new PR from your Fork to the CF repo and ensure the branches look correct.
Fill in the template based on the text box prompts:
Write a good descriptive summary of your changes:
1. Be sure to include how much time you spent on it, and who you worked with.
1. Briefly reflect on and summarize your process.
When you create the PR, it will have a unique URL. Copy this link, share with your partner, and paste it into the assignment submission form in Canvas. Both the driver and the navigator will submit the same PR link.
Learning Objectives
Understand the history of HTTP, and the central role that REST plays.
Use RESTful routes for a web service, to retrieve their own GitHub repos
Design RESTful endpoints for their own blogging app
请发表评论