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: 4 months ago
JSON representation
A REST client in V
- Host: GitHub
- URL: https://github.com/alexferl/vest
- Owner: alexferl
- License: mit
- Created: 2022-10-15T23:01:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-01T20:33:39.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T16:48:36.442Z (5 months ago)
- Topics: http, http-client, rest, rest-client, v, vlang
- Language: V
- Homepage:
- Size: 47.9 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-v - vest - A REST client in V. (Libraries / Web)
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.vestfn main() {
c := vest.new(vest.with_base_url('https://httpbin.org'))resp := c.get(context.background(), '/get') or {
eprintln(err)
return
}println(resp.body)
}
```