Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Request

GET /Users

Response
HTTP 1.1 200 OK
Content-Type: application/

...

json
Content-Length: ...

...

    {
    "_embedded" : {
"item" : [
{
"_links" : {
"self" : {
"href" : "/users/GeorgeWashington"
}
},
"UserID" : "GeorgeWashington",
"FirstName" : "George",
"LastName" : "Washington"
},
{
"_links" : {
"self" : {
"href" : "/users/AbrahamLincoln"
}
},
"UserID" : "AbrahamLincoln",
"FirstName" : "Abraham",
"LastName" : "Lincoln"
},
{
"_links" : {
"self" : {
"href" : "/users/TheodoreRoosevelt"
}
},
"UserID" : "TheodoreRoosevelt",
"FirstName" : "Theodore",
"LastName" : "Roosevelt"
}
]
},
"_links" : {
"self" : {
"href" : "/users"
}
}
}

Two of the most notable features of RESTful web APIs are:

...