Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.13 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.13 KB

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