CSE 341: Web Services

W03 Learning Activity: REST, Alternatives, and Validation

Overview

Welcome to Week 03! This week, you'll start a new project of your choosing. You will also learn how to add validation to your routes, and how to handle errors in your routes.

Topics for this lesson:

Learning Material

Resources for this lesson are accessible to you in this repository

JSON and REST compared to other approaches

In this course, you will use JSON and REST which are the most common ways to build APIs. There are other approaches, many of which were more popular in the past. The following topics help you understand some of these other approaches and how they compare to JSON and REST, so you can understand the benefits of the approach you will be using.

JSON vs XML
REST Overview
RPC
XML+RPC
SOAP
GraphQL
Validation

Validating data and handling errors are critical in Web development. The following resources will help prepare you to add this to your project.

Validation
Error Handling

Submission

When you have completed all of the learning activities for this week, you will return to Canvas and submit the associated quiz there.

Other Links: