Skip to main content

List reindeer assigned to santas sleigh

GET 

http://localhost:8080/reindeers

List reindeer assigned to santas sleigh

Responses

List of reindeer for santas sleigh.

Schema
  • Array [
  • namestringrequired

    Name of the reindeer.

    Possible values: [Dasher, Dancer, Prancer, Vixen, Comet, Cupid, Donner, Blitzen, Rudolph]

    Example: Dasher
    ageintegerrequired

    Age of the reindeer in years.

    Possible values: >= 0 and <= 100

    Example: 5
    nose_colourstringrequired

    Colour of the reindeer's nose.

    Possible values: [red, blue, green]

    Example: red
    notesstring

    Additional notes about the reindeer.

    Possible values: <= 100 characters

    Example: Rudolph has a shiny nose.
    idstring

    Unique identifier for the reindeer.

    Example: reindeer1
  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:8080/reindeers");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
http://localhost:8080
ResponseClear

Click the Send API Request button above and see the response here!