Skip to content
Simple API that returns responses for the purpose of a demo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Controllers
Models
.dockerignore
.gitignore
Dockerfile
LICENSE
Program.cs
README.md
Startup.cs
appsettings.Development.json
appsettings.json
response-api.csproj

README.md

Response API

Simple API that returns responses for the purpose of a demo

POST

Content-Type: application/json
{
    "expectedReturnedCode": string
}

Curl request example

curl -i -d '{"expectedReturnedCode":"200"}' -H "Content-Type: application/json" -X POST http://localhost:5000/api/code

You can’t perform that action at this time.