REST uses different representations to define a resource like text, JSON, and XML. XML and JSON are the most popular representations of resources.