Open yuanpeterli opened 4 years ago
Do you have examples of interfacing Textbelt with RestEasy? In particular, what goes to target.request().post() below?
ResteasyClient client = new ResteasyClientBuilder().build(); ResteasyWebTarget target = client.target("https://textbelt.com/text"); Response response = target.request().post(????); // example: Response response = target.request().post(Entity.entity(user, "application/vnd.com.demo.user-management.user+xml;charset=UTF-8;version=1")); String result = response.getStatus(); response.close();
Do you have examples of interfacing Textbelt with RestEasy? In particular, what goes to target.request().post() below?