Conclusion

In this lesson, you learned how to:

  • Make an API request with Retrofit.
  • Use ResponseBody to read the raw response.
  • Send data to the server using RequestBody.
  • Manually parse a JSON response into Kotlin objects.
  • Handle API request errors.

In the next lesson, you’ll learn about Moshi—the JSON parsing library. See you there. :]

See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Make Request With Retrofit