0

I want to send data from the app i'm building to a web service once its deployed and launched. How do I do that using either the get method or post method?

For instance: Get(String phone, String message) {} with the url: www.rbuildit.azurewebsites.net/api/HomeChurch/SendReport?phone=000000000000&text=99999

Please help I'm quite confused. Thanks

5
  • Use retfoit. It's a type-safe HTTP client for Android and Java. Commented Oct 29, 2016 at 10:27
  • retrofit? ok thanks @ Merhawi Commented Oct 29, 2016 at 10:30
  • Also I just want to send data to the server and not receive a response Commented Oct 29, 2016 at 10:31
  • Take a look at this for simple requests. Retrofit is an advanced library Commented Oct 29, 2016 at 10:32
  • Yea I saw tha, but httpClient doesn't work for sdk 23 and above Commented Oct 29, 2016 at 10:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.