The HumorREST API

API Conventions:

All of the GET requests to the HumorREST Web Service support JSON and XML formats.

The request URL root for GET requests is: http://localhost:8080/HumorREST/api/ followed by one of the following options:

The default response to any GET request is a JSON string.

The following two GET requests are syntactically identical:

Also available is an XML format:
In addition The HunorREST API support the following requests:

Category Definitions:

The Humor Categories include:

Numbered

Keyed

Dated

Object Definitions:

The objects returned by GET requests include:

Categories

Category

NumberedList

NumberedHumor

KeyedList

KeyedHumor

Integer

DatedList

DatedHumor

Integer