What does API stand for
Application Programming Interface
What does “REST” in REST API stands for and what does it mean?
Representational State Transfer.
A set of constrains and rules how applications or devices connect and/ or communicate with each other
What does URL mean?
Universal Resource Locator. It tells the server Where the requestet Page is.
What does HTTP mean and what does it stand for?
Hypertext Transfer Protocol. A protocol that defines how requests and responses are handled.
What do Headers do in Requests?
They specify and give inportant information when send.
For example: the status code: 200, 300, 400 etc.
Or the Log in Credentials ( in a stateless transfer to an API they have to be included in the header)
What are the constrains of a RESTfull API
Client-Server.
Stateless.
Cacheable.
Uniform Interface.
Layered System.
Code On Demand (Optional)
What does stateless mean?
Statelessness is one of the constrains of RESTfull APIs.
It means that the server doesnt remember anything:
Example: log in details have to be sent in a header @ every request
What do “resources stand for in REST API’s?
Resources are mearly everything: user, music, content
What does JSON stand for?
Javascript object notation.
Server responses are usually json for example
What does CRUD stand for and what are the names of the request for each letter?
Create : post
Read: get
Update: put
Delete: delete
And then there is patch ( update)
Last changed8 months ago