13  How can I get inputs from API users?

13.1 Introduction

(introduction will be written ~last)

13.1.1 Learning Objectives

After you read this chapter, you will be able to:

  • Decide whether API inputs should be passed in the path, query, body, header, or cookie.
  • Process API arguments directly from the request object.
  • Process API arguments specified in the path.
  • Process API arguments passed in the query string.
  • Process API arguments passed in the request body.
  • Process API arguments sent as a header.
  • Process API arguments stored in a cookie.

13.1.2 Prerequisites

(prerequisites will be filled in as I write, if I decide to keep this section)