RESTful APIs
RESTful APIs
Important
Questions &
Answers
SWIPE
Q1
KEEP SWIPING
KEEP SWIPING
KEEP SWIPING
What is a Resource in
REST?
In REST, a resource is an object with a type,
associated data, relationships to other
resources, and a set of methods that operate
on it. It is similar to an object instance in an
object-oriented programming language.
KEEP SWIPING
What is an API
endpoint?
An API endpoint is a specific URL or URI
(Uniform Resource Identifier) that an API
interacts with. For example, in a blogging API,
“/posts” might be the endpoint to retrieve all
blog posts.
KEEP SWIPING
KEEP SWIPING
What is CORS?
CORS (Cross-Origin Resource Sharing) is a
mechanism that allows many resources (e.g.,
fonts, JavaScript, etc.) on a web page to be
requested from another domain outside the
domain from which the resource originated.
KEEP SWIPING
KEEP SWIPING
KEEP SWIPING
KEEP SWIPING
KEEP SWIPING