Skip to content

KevinSHIT/WebDemo

Repository files navigation

Web Demo

This repository contains a simple web service implemented by different language with different frameworks.

Framework Language Code File
Spring Boot Java src
ASP.NET Core (Minimal API) C# code
Gin Go code
Express JavaScript code

Test script: test.sh

API Docs

  • [GET] /hello
    • Status Code: [200]
    • Content: Hello
  • [POST] /pushQueue
    • Status Code: [200]
      Description: push success
    • Status Code: [409]
      Content: duplicated
      Description: Contains duplicated item inside the queue
    • Status Code: [500]
      Description: Not Valid Request
  • [GET] /getQueue
    • Status Code: [200]
      Content: [...]
      Description: Content of Queue

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published