Resource

noun

say it: “REE-sors” /ˈriːsɔːrs/

A thing an API lets you work with, such as a product or an order, found at its own address.

What is Resource?

A resource is a thing an API lets you work with, such as a recipe or an order. It has a URL (/recipes/42) and is sent back and forth as JSON.

In a sentence

  • “Each product is a resource at /api/products/{id}.”

Level: Novice · More REST API terms at this level

Updated