Send event data google calendar via http to server in java

2

In my script can list my calendar events , as below:

String pageToken = null;
do {
    Events events= null;
    try {
        events = service.events().list(CALENDAR_ID).setPageToken(pageToken).execute();
    } catch (IOException ex) {
        Logger.getLogger(CalendarService.class.getName()).log(Level.SEVERE, null, ex);
    }
    List<Event> items = events.getItems();
    for (Event event : items) {
        System.out.println(event.getSummary());
        System.out.println(event.getStart());
    }
    pageToken = events.getNextPageToken();
} while (pageToken != null);

I would like to know how I can send this information via link to a server?

    
asked by anonymous 21.09.2015 / 23:19

0 answers