FastAPI by Bill Lubanovic

FastAPI by Bill Lubanovic

Author:Bill Lubanovic [Bill Lubanovic]
Language: eng
Format: epub
Publisher: O'Reilly Media, Inc.
Published: 2023-11-25T00:00:00+00:00


Possibly many things

All things

How do you get our well-meaning but extremely literal-minded computer to do these things? Well, for the one thing case, the RESTful pattern that I mentioned earlier is to include the resource’s id in the URL path. When getting multiple resources, we may want to see the results in a particular order:

Sort: Order all of the results, even if you only get a set of them at a time.

Paginate: Return only some results at a time, respecting any sorting.

In each case, a group of user-specified parameters specifies wnat you want. It’s common to provide these as query parameters. Examples:

Sort: GET /explorer?sort=nationality: Get all explorers, sorted by nationality.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.