In this video, learn the basics of HTTP web methods and gain a general understanding of client-server communication and the different methods used by the HTTP protocol, like GET, POST, PUT, HEAD, and DELETE.
- [Instructor] I have mentioned HTTP methods…a few times now and it sounds like we are going…to be using them a lot,…so what are they?…HTTP methods are standardized formats for procedures…that a client, your app, requests a web service to execute.…They take the form of a client request…and a server response.…A request contains a request line…containing an HTTP verb, like get,…a relative web address, the base URL is included…in a required host header,…and the protocol being used,…usually HTTP 1.1.…
It then has headers which describe the request being made.…Most commonly things like host content length…or authorization.…One blank line to separate the body…and an optional message body…of data bytes.…A response looks almost the same…except that the first line contains the protocol version…followed by a response code, no address and no verb.…These HTTP verbs are…get, head, post,…put, delete, trace, options, connect, and patch.…
But the Retrofit API only supports the first five…so those are the ones we will be going over…
- REST API basics
- Methods for reading and writing data
- Defining data models with Retrofit
- Implementing an API interface
- Getting data with a Retrofit call
- Authorizing requests
- Putting, deleting, and posting data
- Customizing the data converter
- Working with the request and response headers
Skill Level Intermediate
Android App Development: Enterprise Integrationwith Jon-Luke West47m 51s Intermediate
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
1. HTTP APIs
2. Get Started with Retrofit
3. Finish the Sample App
4. More Configuration Options
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.