• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Code The Dream School
Code the Dream Labs Logo

Code The Dream School

Main hub for class materials for Code the Dream’s classes

  • Code the Dream Home

Search Code The Dream School

Back End Lesson 5.2: Calling REST APIs with Fetch

Welcome to Lesson 5.2 of the Ruby on Rails Back End Class. In the previous lesson, you created a REST API in Rails. In this lesson, you will learn how to call that REST API from a web page that is hosted in Rails.

This lesson is primarily about JavaScript. If you do not have a background in JavaScript, it will be difficult for you to complete the lesson. The main JavaScript capabilities to be exercised in this lesson are (a) manipulation of, and interaction with, the web page DOM, and (b) retrieval of data using the JavaScript fetch API.

Curriculum

This is your curriculum for Lesson 5.2:
5.2.1 Calling REST with Fetch

Assignments

You continue to work on the same repository that was used for the previous lesson.

In addition to the above assignment, you will need to start thinking about what project you will like to build for your final project. The rubric for the final project is located here: https://learn.codethedream.org/back-end-2-final-project/ Read through that page, come up with your idea for the final project that meets the requirements, and submit your plan using the last several questions on your usual Homework Assignment Submission Form. A mentor of the Ruby on Rails class will review your proposal and will communicate with you via Slack to let you know if you can begin your work or if your plan needs revisions before you can begin. Please contact the Class Coordinator if you have any questions.

Your mindset curriculum assignment can be found here.

Footer

Copyright © 2025 Code the Dream School | All Rights Reserved | Privacy Policy