Questions
As we conclude, here is a list of questions for you to test your knowledge regarding this chapter’s material. You will find the answers in the Assessments section of the Appendix:
- How can we realize a
POST
request with therequests
andurllib
modules by passing a dictionary-type data structure that would be sent to the request body? - How can we access request and response headers using the
requests
module? - What are the main roles that provide the OAuth 2.0 protocol in the authorization process?
- Which mechanism is used to improve the basic authentication process by using a one-way hashing cryptographic algorithm?
- Which header is used to identify the browser and operating system that we are using to send requests to a URL?