@ RequirePOST public FormValidation doPostBack ( StaplerRequest req ) throws IOException , GeneralSecurityException { DownloadSettings . checkPostBackAccess ( ) ; return updateData ( IOUtils . toString ( req . getInputStream ( ) , "UTF-8" ) , true ) ; }
This is the endpoint that receives the update center data file from the browser .