Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 1.1 Python Professional Course Series: RESTful APIs
- **S** stands for State. The word state is key to understanding what REST is and what it could be used... t. The history of sockets started in 1983 at the University of California in Berkeley, where the conc... on was carried out. The resulting solution was a universal set of functions suitable for implementati... rom Berkeley Software Distribution, the name of a Unix-class operating system, where the sockets were
- 1.3 JSON – our new friend
- ks to the standardized libraries of functions and unified services. It doesn't matter what programming... implement a certain solution – JSON is a kind of universal bridge able to move data between seemingly... struggle with is **how to represent an object** (understood as a set of data of different types, incl... ies, but also their names. In JSON, it can be an unnamed value like a number, a string, a Boolean or…
- 1.6 Making life easier with the requests module
- web service using JSON as an information carrier. Unfortunately, our knowledge needs to be supplemente... gn. The socket module is perfect when you want to understand network issues at the TCP level and to le... manager and obtain some more specific assistance; unfortunately, some Linuxes offer their own, native ... gram (as an ordinary user) and wait till a black (unless you've changed its color) rectangle appears o
- 1.2 How to use sockets in Python
- t domain** - do you remember?\\ We told you about Unix and INET domains in the previous section); as d... nection error, and more. How we can discover such unpleasant events? If something goes wrong, the ''c... method (and any other method whose results may be unsuccessful) **raises an exception**. Let us postpo... do we talk to the HTTP server to be sure that it understands us? We have to speak in HTTP, of course.
- 1.7 Four magic letters: CRUD
- chnologies can utilize shared data through one, **universal interface**. The interface itself enables... s; * each car is described by: * ''id'' – a unique item number; note – each item in the collecti... ze and store data is actually a black-box for us (unless we are implementing the server itself). Diffe... as cars, too. You have to use the name in the URI unless you want to get the default (root) document,
- 1.5 What is XML and why do we prefer to use JSON?
- isn't) its native niche. XML is – like JSON – a **universal and transparent carrier** of any type of d... he FPI (Formal Public Identifier – a string which uniquely names the DTD on the scale of the universe) and its location (a URI); ''SYSTEM'' means that the... eneral) a floating-point number from a completely unpredictable range. Note: there is something very i
- 1.4 Talking to JSON in Python
- is based on redefining the ''JSONDecoder'' class. Unfortunately, this variant is more **complicated**