Skip to content

mr-sige/Jingzi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jingzi

Jingzi (镜子 - Chineese for mirror) is Web Service with a single endpoint. When called it can return a custom HTTP Status Code and Response Body with a delay.

Build

  1. Open Jingzi.sln
  2. Restore NuGet packages
  3. Run

Usage

Endpoint URL: http://localhost:49920/api/Jingzi

Http POST:

{
  "ResponseBody": {
    "response item 1": "value 1",
    "response item 2": "value 2"
  },
  "ResponseLatency": 1000,
  "ResponseStatusCode": 201
}

Response:

Response time: 1034ms

Status Code: 201

Body:

{
    "response item 1": "value 1",
    "response item 2": "value 2"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published