Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 641 Bytes

File metadata and controls

37 lines (29 loc) · 641 Bytes

API Endpoints

UserController

Get User by Country

  • URL: /user/:country

  • Method: GET

  • URL Params:

    • country=[string] (required)
  • Success Response:

    • Code: 200

    • Content:

      {
        "FirstName": "John",
        "LastName": "Doe",
        "Gender": "male",
        "Email": "john.doe@codershubinc.tech",
        "Phone": "123-456-7890",
        "Address": {
          "Street": "123 Main St",
          "City": "Anytown",
          "State": "Anystate",
          "Zip": "12345"
        }
      }

tradeController

Get Trade by Country

  • URL: /trade/:country
  • Method: GET