public void put ( String data , Charset charset ) throws APIException { HttpResponse response = client . put ( getUrl ( ) , new StringEntity ( data , charset ) ) ; HttpClientHelpers . throwIfNotOk ( response ) ; }
Upload string data to this file as text using a custom Charset