Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

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