- Notifications
You must be signed in to change notification settings - Fork0
no-src/rest-client
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A command line tool for sending HTTP requests and displaying the response.
The first needGo installed (version 1.22+ is required), then you can use the belowcommand to installrest-client.
go install github.com/no-src/rest-client/...@latest
Create aconf.yaml file to define the custom variables, it is optional.
host:http://127.0.0.1secret:123456
Create arequest.http file to define the HTTP requests, it is required.
### Test POST HTTP RequestPOST {{host}}/sayContent-Type: application/json{ "content": "hello", "secret": "{{secret}}"}### Test GET HTTP RequestGET {{host}}/inforc -conf=conf.yaml -http=request.http
rc -conf=conf.yaml -http=request.http -run -id=1
About
A http command line tool
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.