REST client in V.
v install alexferl.vest
More complex examples here.
import context
import alexferl.vest
fn main() {
c := vest.new(vest.with_base_url('https://httpbin.org'))
resp := c.get(context.background(), '/get') or {
eprintln(err)
return
}
println(resp.body)
}