Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textbelt with RestEasy #148

Open
yuanpeterli opened this issue Feb 29, 2020 · 0 comments
Open

Textbelt with RestEasy #148

yuanpeterli opened this issue Feb 29, 2020 · 0 comments

Comments

@yuanpeterli
Copy link

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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant