Skip to content

Nordic-Dev/responsecodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Response Codes

A simple ASP.NET Core app that returns specific response codes when specific endpoints are called. It can come in handy when you need a quick and dirty way to test your application receiving specific responses from an API.

Setup

git clone https://github.com/Nordic-Dev/responsecodes.git

cd responsecodes\responsecodes

dotnet restore

dotnet build -c Release

Running

You can install as an IIS site, or run on the command line using:

dotnet run

Usage

The /200 endpoint returns 200

The /201 endpoint returns 201

The /400 endpoint returns 400

The /401 endpoint returns 401

The /500 endpoint returns 500

Examples

https://codes.nordicdev.io/200

https://codes.nordicdev.io/201

https://codes.nordicdev.io/400

https://codes.nordicdev.io/401

https://codes.nordicdev.io/500

About

Simple app with endpoints that return 200, 400, and 500

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published