REST (REpresentational State Transfer) is the de-facto style for web services: roughly 8 out of 10 public APIs you’ll meet follow it, so mastering the basics lets you speak to almost any modern backend.(Integrate.io)
A REST API exposes resources (nouns such as /users/42
) over plain HTTP. Clients use standard verbs to act on those resources:
Verb | Typical intent | Idempotent? |
---|---|---|
GET | Read | ✔︎ |
POST | Create / adj. action | ✖︎ |
PUT | Replace | ✔︎ |
PATCH | Partial update | ✖︎ |
DELETE | Remove | ✔︎ |
RESTful servers must also follow six architectural constraints (uniform interface, client-server, stateless, cacheable, layered, code on demand optional).(restfulapi.net, Integrate.io)
GET https://api.example.com/items/123
Accept: application/json
Typical JSON reply:
{
"id": 123,
"name": "Widget",
"price": 9.99
}
Divooka lets you build the call as a node graph instead of filling long forms:
{{baseUrl}}/items/{{itemId}}
.Accept: application/json
.Everything is visual and reusable: connect the same response into further logic (save to DB, update UI, trigger another request) without writing glue code.
You can view more practical examples on the Web API Testing page.
Define baseUrl
, apiKey
, or authToken
once in Environments and reference them anywhere with Get Environment Variable nodes. Switch environments (dev/staging/prod) using Switch node.
Save and group related requests into graphs as documents, so it can be easily reused and shared.
For designing your own REST APIs:
/orders/17
, not /getOrder
).GET /deleteUser
).?page=2&limit=50
)./v1/
), never break existing clients.With these essentials you can explore any REST endpoint confidently - and wire it into your Divooka flows to suit your application needs.