public static URI uploadFromUrl ( String sourceUrl , String pubKey , String store ) { URIBuilder builder = new URIBuilder ( URI . create ( UPLOAD_BASE ) ) ; builder . setPath ( "/from_url/" ) . setParameter ( "source_url" , sourceUrl ) . setParameter ( "pub_key" , pubKey ) . setParameter ( "store" , store ) ; return trustedBuild ( builder ) ; }
Creates a URL for URL upload .