Sign inSign up

killercodes/moqservice

By killercodes

•Updated about 2 years ago

Mock service that gives xml/json output

Image
Developer tools
Web servers
0

114

killercodes/moqservice repository overview

⁠MOQ-SERVICE

MOQ service is designed to mock any service GET request.


⁠How to use MOQ-SERVICE

⁠1: Create the folder path/folder tree [Ex /department/it/team/users]
⁠2: Place a xml/json file at the folder with some name, [Ex "sample.xml"]
⁠3: The first parameter name/key can be anything but pass the value as sample [Ex ?Id=sample or ?OpenFile=sample]

The service will match an xml or json file "sample.xml" or "sample.json" depending on the requested content type and will give response.

    Example: http://localhost:8080/data?Id=sample

Here the file sample should be an *.xml or *.json file in the folder /data you can push it deep down in directory tree to match your requirements like /home/data/media/movies.

Tag summary

Content type

Image

Digest

sha256:44b4c5569…

Size

44 MB

Last updated

about 2 years ago

docker pull killercodes/moqservice:py396