Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A http command line tool

License

NotificationsYou must be signed in to change notification settings

no-src/rest-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuildLicense

A command line tool for sending HTTP requests and displaying the response.

Installation

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

Quick Start

Configuration

Create aconf.yaml file to define the custom variables, it is optional.

host:http://127.0.0.1secret:123456

Request

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}}/info

Show Requests

rc -conf=conf.yaml -http=request.http

Send Request

rc -conf=conf.yaml -http=request.http -run -id=1

About

A http command line tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp