Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 1.7 Four magic letters: CRUD
- k and how the HTTP server is able to do much more for us than just store and publish fancy images and f... ed and heavy databases or other services designed for storing and processing information. Moreover, the... e. We can say that that's what REST was invented for. Thanks to it, very different programs written in... reate”, you can add new items to data collection, for example, write a new blog post, add a new picture
- 1.5 What is XML and why do we prefer to use JSON?
- ore and transfer documents of virtually any type. For example, the document format produced by MS Offic... ey are, although both the solutions were invented for nearly the same purpose. Take a look – it's a si... l - List of cars ready to sell --> <!DOCTYPE cars_for_sale SYSTEM "cars.dtd"> <cars_for_sale> <car> <id>1</id> <brand>Ford</brand> <mod
- 1.2 How to use sockets in Python
- network sockets. Of course, we'll harness Python for this purpose. Here are our goals: * we want t... IP works and how it is able to act as **a carrier for REST**. We can say that TCP/IP is interesting for us only to the extent that it is able to transport HTTP traffic, and HTTP is interesting for us only to the extent that it is able to act as a
- 1.1 Python Professional Course Series: RESTful APIs
- separately. === Representational **RE** stands for //Representational//. It means that our machinery... next part of the acronym. === State **S** stands for State. The word state is key to understanding what REST is and what it could be used for. We think that your knowledge of classes and obj... t part of the acronym. === Transfer **T** stands for Transfer. The network (not only the Internet) is
- 1.6 Making life easier with the requests module
- eed a **server serving** a web **service** (sorry for all these serv..., we weren't able to avoid them)... our own, private HTTP server which will work only for us and successfully play the role of a RESTFul AP... rite any code in it. It’ll act as a **black box** for us, and we don't want to persuade you to look ins... .png }} ''Node.js'' utilizes its own native tool for installing and updating components. Its name is t
- 1.4 Talking to JSON in Python
- * – which is able to perform all those drudgeries for you. How do we start a new adventure? It's obvio... ffix which **writes the JSON string to the file** for file-like streams. The function does what it pro... e string invalid and ''loads()'' will not like it for sure. The code outputs: <code ; output> <class '... hich is used to point to the function responsible for creating a brand new object of a needed class and
- 1.3 JSON – our new friend
- ilar to the one used by Python to describe lists. For example, it uses square brackets (or just bracket... ou can format (or unformat) the text in any way. For example, both these JSON objects are the same: <c... x:123, y:-1} </code> The first is easier to read (for humans), while the second is cheaper to transmit
- 2.1 Python Professional Course Series: Lab & Assessment
- stered the material, and check if you're prepared for the certification exam (available soon). Complet... erly; the rest of the request remains the same as for GET. We also assume that: * the tool checks if