Skip to content

javawhiz/javawhiz-hateoas-basic

Repository files navigation

Sample Link : http://localhost:8080/?start=11&count=10 Sample Output below

{
  "_embedded": {
    "orderList": [
      {
        "id": 11,
        "name": "Order 11",
        "description": "Description 11",
        "amount": 110
      },
      {
        "id": 12,
        "name": "Order 12",
        "description": "Description 12",
        "amount": 120
      },
      {
        "id": 13,
        "name": "Order 13",
        "description": "Description 13",
        "amount": 130
      },
      {
        "id": 14,
        "name": "Order 14",
        "description": "Description 14",
        "amount": 140
      },
      {
        "id": 15,
        "name": "Order 15",
        "description": "Description 15",
        "amount": 150
      },
      {
        "id": 16,
        "name": "Order 16",
        "description": "Description 16",
        "amount": 160
      },
      {
        "id": 17,
        "name": "Order 17",
        "description": "Description 17",
        "amount": 170
      },
      {
        "id": 18,
        "name": "Order 18",
        "description": "Description 18",
        "amount": 180
      },
      {
        "id": 19,
        "name": "Order 19",
        "description": "Description 19",
        "amount": 190
      },
      {
        "id": 20,
        "name": "Order 20",
        "description": "Description 20",
        "amount": 200
      }
    ]
  },
  "_links": {
    "self": {
      "href": "http://localhost:8080/?start=11&count=10"
    },
    "previous": {
      "href": "http://localhost:8080/?start=1&count=10"
    },
    "next": {
      "href": "http://localhost:8080/?start=21&count=10"
    }
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages