Y
Hacker News
new
|
ask
|
show
|
jobs
by
TekMol
3172 days ago
Using it, what do I gain over a simple fetch call like the one below?
data = await fetch("http:://api.example.com/...").then(r => r.json());
1 comments
mahadevank
3167 days ago
You get a more natural interface to your resources. The usage you're describing is pretty simple, but once you start getting into things like headers, parameter substitution etc., flowrest offers a very convenient way to manage them.
link