# wire-loc **Repository Path**: natsukry/wire-loc ## Basic Information - **Project Name**: wire-loc - **Description**: a simple local mock-server - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-11 - **Last Updated**: 2022-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: mock-server, Mock ## README # local wiremock A simple local mock-server By given request(path, method), the sever will response the response(body, status) ## status | target | des | status | | ------ | -------------- | ----------------- | | v1 | simple mapping | response not json | | v1.1 | | json issue fixed | ## how to use put your mapping json in resources/mapping ```json { "request": { "method": "get", "urlPath": "/get/addr" }, "response": { "status": 201, "body": { "info": { "estimation": "OK", "quality": "HD" }, "msg": "Address Created" } } } ``` ### fields | Attribute | Mandatory | | --------------- | --------- | | request | M | | request.method | M | | request.urlPath | M | | response | M | | response.status | M | | response.body | M |