API Hacking - RESTful API
API Hacking - RESTful API
example.com/api/users
example.com/users
Collection: a group of
resources such as
Acronym CRUD
/api/profiles/users Stands for Create, Read, Update and
Delete
Gateway: 6 Constraint
filters bad request Restful API depends on 6 Constants,
monitor incoming traffic Rest is essentially a set of guidelines
for an HTTP resource-based
route each req. to proper service or
architecture.
microservice
💡
info.
API Doc. might user colon or Stateless: RestAPI should not
square bracket or curly require stateful communication
bracket
Cacheable: Response from Rest
/api/v2/:customer_id or
API Provider should indicate
/api/v2/[customer_id] or
weather the response is cacheable
/api/v2/{customer_id}
Layered System: Client should be
able to req. data from endpoint
Standard web API Types without knowing about the
Restful API: underlying server architecture