Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 491 Bytes

File metadata and controls

24 lines (16 loc) · 491 Bytes

A Rest Server

Has two endpoints:

Product listing endpoint:

Method: GET
Action: Get all products
URI: /products
Optional arguments:

  • page:number, can be combined with the other arguments as well
  • min_price:number & max_price:number
  • category:string

Product detail endpoint:

Method: GET
Action: Get specific product by id
URI: /products/{productid}

Example requests:

Example requests can be found in the test-requests file.