Skip to content

lorenzo-catalano/mockserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mockserver

mock from host folder with

docker run --name=mockserver -p 9087:9087 -v ~/HOST/FOLDER/:/tmp/mockserver/mocks mockserver:0.0.2

test with

curl -v -H "id-mock: test1" http://localhost:9087

Example test1.json

{ "statusCode":200, "headers":{ "header1":"h1", "header2":"h2" }, "body":{ "success":true, "message":"OK" } }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published