10 2020 档案
摘要:说明 以POST方式提交表单 案例 方法选择POST 再 body 处选择form-data 多个表单内容,可以选择文本,也可以选择文件。 都是以 Key-Value 的方式上传,然后再服务器端接收。 // micronaut 2.x @Post(value = "/test4", consumes
阅读全文
摘要:说明 日历信息,获取日期相关内容 案例 Calendar calendar = Calendar.getInstance() String year = calendar.get(Calendar.YEAR) // 当前年份 String month = calendar.get(Calendar.
阅读全文
摘要:说明 Jvm系后端访问Web包。 API:https://htmlunit.sourceforge.io/apidocs/index.html gradle引用 // 抓取网页 // https://mvnrepository.com/artifact/net.sourceforge.htmluni
阅读全文