java Programming Glossary: genericdata
How to POST request to Google Shortener API with Google API Java Client and parse a JSON response? http://stackoverflow.com/questions/4724270/how-to-post-request-to-google-shortener-api-with-google-api-java-client-and-pars import com.google.api.client.util.GenericData public class GoogleShortener public static final String GOOGL_URL.. new JsonCParser build the HTTP GET request and URL GenericData data new GenericData data.put longUrl http www.google.com JsonHttpContent.. build the HTTP GET request and URL GenericData data new GenericData data.put longUrl http www.google.com JsonHttpContent content..
|