0% found this document useful (0 votes)
14 views1 page

Documento 2

The document outlines key principles of RESTful API design, including statelessness and resource-based interfaces. It covers HTTP methods, resource modeling, status codes, authentication, security measures, and documentation tools. References include notable works and specifications related to RESTful APIs.

Uploaded by

tascegoohfilho
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Documento 2

The document outlines key principles of RESTful API design, including statelessness and resource-based interfaces. It covers HTTP methods, resource modeling, status codes, authentication, security measures, and documentation tools. References include notable works and specifications related to RESTful APIs.

Uploaded by

tascegoohfilho
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Class Notes: RESTful API Design

1. Principles of REST
- Statelessness, client-server separation
- Uniform interface, resource-based

2. HTTP Methods
- GET, POST, PUT, DELETE, PATCH
- Idempotency, safe vs unsafe methods

3. Resource Modeling
- URI design: nouns, hierarchy
- Versioning strategies

4. Status Codes
- 2xx Success, 4xx Client errors, 5xx Server errors
- Use of 201 Created, 204 No Content

5. Authentication & Security


- OAuth 2.0, JWT tokens
- HTTPS, rate limiting

6. Documentation Tools
- OpenAPI (Swagger), API Blueprint

References:
- "RESTful Web APIs" by Richardson & Ruby
- OpenAPI Specification

You might also like