A
A
ABU SADDAM SHISHANI2019-06-22 23:58:46
Java
ABU SADDAM SHISHANI, 2019-06-22 23:58:46

POST Java request and content output?

Kind people, explain how you can implement in the application (android studio, java) a POST request to the site, get the result and display the content (Json)
What is the point .. The user enters the name of the group, the site issues a weekly schedule of classes.
Is it normal to integrate this application with http at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UserTwo, 2019-06-23
@mutafakkir

Most likely you are confusing Jquery and JSON. It is common to use libraries for such purposes, here are some:
1. Okhttp https://square.github.io/okhttp/
2. Retrofit https://square.github.io/retrofit/
3. Android Asynchronous Http Client loopj.com/ android-async-http
Json can be parsed using GSON or built-in retrofit methods

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question