Skip to content
/ prudle Public

A simple application which allows to generate custom HTTP responses

License

Notifications You must be signed in to change notification settings

kiritym/prudle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prudle

You can mock any HTTP responses to test RESTful API

Prudle - a simple application which allows to generate custom HTTP responses. If you want to mock any back-end response in your application, prudle can help you.

Installation

Pre-requisite: You must have installed a latest version of Go.

Run the below command

   go get -u github.com/kiritym/prudle

This will download prudle to $GOPATH/src/github.com/kiritym/prudle. From this directory run go build to create the prudle binary.

Usage

Start the server by executing prudle binary. By default, server will listen to https://0.0.0.0:8888.

prudle -h
Usage of prudle:
  -b string
        Host of server (default "0.0.0.0")
  -p int
        Port of server (default 8888)

Demo

Create your API endpoints with custom HTTP Response:

You can Curl your endpoints to mock the required response:

About

A simple application which allows to generate custom HTTP responses

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published