Repository

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

About

0
13
1 year ago

Author

alexferl