Community articleSpecifying a request body
Added by IBM contributorIBM on October 10, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

For operations that transmit data to the server, such as POST, PUT and PATCH, specify a request body in JSON format. With the calendar service, you can also POST and PUT data in iCalendar format.
See Receiving a response body for the formatting rules. In general, you can copy and paste from a GET response body to form a request body.

This sample POST request adds a document to a database:

"Date": ["2011-08-21T20:21:00Z", "2011-08-01T14:38:00Z"],
"data":"Just sales.",
"City":"New York City"

Parent topic: Accessing IBM Domino Access Services