Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 364 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 364 Bytes

vest

REST client in V.

Installing

v install alexferl.vest

Using

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)
}