public void mailingList_subscribe_POST ( String email , String mailingList ) throws IOException { String qPath = "/me/mailingList/subscribe" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "email" , email ) ; addBody ( o , "mailingList" , mailingList ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; }
Subscribe an email to a restricted mailing list