项目作者: markhigham

项目描述 :
Simple REST stub server
高级语言: JavaScript
项目地址: git://github.com/markhigham/api-stub-server.git
创建时间: 2017-06-16T12:58:48Z
项目社区:https://github.com/markhigham/api-stub-server

开源协议:

下载


api-stub-server

A simple http stub server designed for use while developing and testing applications that consume external HTTP based APIs.

Installation

To install globally

  1. npm install -g api-stub-server

Usage

To start the basic server

  1. api-stub-server

To start using some simple sample data

  1. api-stub-server -s
  2. curl http://localhost/api/value/1

Docker

  1. npm run debug