短信验证
https://luosimao.com/docs/api/25
1、引入API测试代码
private String testSend(){// just replace key hereClient client = Client.create();client.addFilter(new HTTPBasicAuthFilter("api","key-d609b769db914a4d959bae3414ed1f7X"));WebResource webResource = client.resource("http://sms-api.luosimao.com/v1/send.json");MultivaluedMapImpl formData = new MultivaluedMapImpl();formData.add("mobile", "13761428267");formData.add("message", "验证码:286221【铁壳测试】");ClientResponse response = webResource.type( MediaType.APPLICATION_FORM_URLENCODED ).post(ClientResponse.class, formData);String textEntity = response.getEntity(String.class);int status = response.getStatus();//Syst