Skip to content

hbouvier/restctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status dependency Status devDependency Status NPM version

restctl

A RESTful client to send HTTP Rest commands (e.g. GET/POST/PUT/DELETE)

Installation

sudo npm install -g restctl

REST CONFIGURATION

REST_URL  (default: http://127.0.0.1:8080/)

Usage

restcrl exit values

0 = Success (created/modifed/found)
1 = Not found
-1 = Server Error

Version

restctl version

GET

restctl get /store/api/v1/key/version

PUT

restctl put /store/api/v1/key/version '0.0.1'

POST

restctl post /store/api/v1/key 'I was here'

DELETE

restctl delete /store/api/v1/key/version

Run the tests

npm test

About

A RESTful client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published