I'm currently working with Google calendar API and allowing users to post event with attendees, however now I'm supposed to send a POST
method that includes a "Request Body".
Here's the Request that I'm supposed to send :
https://www.googleapis.com/calendar/v3/calendars/<MyCalendorID>/events/<MyEventID>
Request Body :
{
"end": {
"date": "2015-05-19"
},
"start": {
"date": "2015-05-20"
},
"attendees": [
{
"email": "nai.bhavesh782@gmail.com"
}
]
}
I'm positive that I'm doing something wrong in [request setHTTPBody]
but that's the only thing that I could think about.
Please help