Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexferl/vest

A REST client in V
https://github.com/alexferl/vest

http http-client rest rest-client v vlang

Last synced: about 2 months ago
JSON representation

A REST client in V

Awesome Lists containing this project

README

        

# vest
REST client in [V](https://vlang.io).

# Installing
```shell
v install alexferl.vest
```

# Using
More complex examples [here](examples).

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