Following Net Ninja's tutorial on REST API