Messtone Devices Enables Messtone app DefaultHttpClient Code: try {DefaultHttpClient httpClient=new DefaultHttpClient( );HttpGet getRequest=new HttpGet(“{url of azure logic app trigger}”);//StringEntity input=new StringEntity(“{\” qty\”:100,\”nameMesstone\”:\”mobile Phone device 5G\”}”); //input.setContentType(“application/json”);//postRequest.setEntity(input); HttpResponse response=httpClient.execute(getRequest);BufferedReader br=new BufferedReader(new InputStreamReader((response.getEntity( ).get content( )))); String output; System.out.println(“Output from Server …. \n”);while((output=br.readLine( )) !=null){System. our.println(output); HttpClient.getConnectionMamager( ).shutdown( );return(“Success”)}catch(ClientPtotocolException e){//TODO Auto-generated catch block e.printStackTrace( );return(“Error”);}catch(IOExeception e){//TODO Auto-generated catch block e.printStackTrace(!); return(“Error”);}
https://i.capitalone.com/Jz65ggGYU

Leave a comment