public static HttpRequestor . Response startPostNoAuth ( DbxRequestConfig requestConfig , String sdkUserAgentIdentifier , String host , String path , /*@Nullable*/ String /*@Nullable*/ [ ] params , /*@Nullable*/ List < HttpRequestor . Header > headers ) throws NetworkIOException { byte [ ] encodedParams = StringUtil . stringToUtf8 ( encodeUrlParams ( requestConfig . getUserLocale ( ) , params ) ) ; headers = copyHeaders ( headers ) ; headers . add ( new HttpRequestor . Header ( "Content-Type" , "application/x-www-form-urlencoded; charset=utf-8" ) ) ; return startPostRaw ( requestConfig , sdkUserAgentIdentifier , host , path , encodedParams , headers ) ; }
Convenience function for making HTTP POST requests .