SparkJava: RESTful APIs

Creating RESTful APIs with SparkJava

When we think of web apps, we normally think of a human end user interacting with the web app through a browser.

But many web applications either instead of this, or in addition to this, provide RESTful APIS.

RESTful APIs are typically NOT designed for human end users; instead, you can think of them as web apps for other pieces of software.

(Note that in the past, it was more common for RESTful APIs to use XML instead of JSON, and many still do. However, we’ll focus on JSON in this course.

RESTful APIS provide:

Here are some examples of building RESTful APIs using SparkJava

More on SparkJava: RESTful APIs