Initial knowledge of jwt in php

Using token to authenticate 1. Client logs in with account password 2. The server receives the request and verifies the correctness of the account and password. If it is correct, the server sends back a Token. 3. The client receives Token and stores it. Every time it accesses, it needs to carry token ...

Posted by jaslife on Sun, 06 Oct 2019 16:03:31 -0700

vue encapsulates Axios requests

In the vue project, we can get the backend data using axios. There are many places to use it. I always like to write the code neat and neat. Therefore, the axios request is encapsulated, convenient to use, and a lot of redundant code is reduced. The catalogue is as follows: |-------src | |-- api | | |-- ...

Posted by - - NC - - on Sun, 06 Oct 2019 13:24:23 -0700

GET and POST Request Patterns of python's requests Module

python's requests module can simulate browser requests. Compared with urllib, the api of requests module is more convenient (essentially encapsulating urllib3). Installation mode pip install requests GET-based requests response = requests.request("get", "http://www.baidu.com/") If you want to a ...

Posted by ruach on Sun, 06 Oct 2019 13:13:53 -0700

python crawler learning crawl super-pure aesthetic wallpaper

brief introduction The choice of wallpaper can, to a great extent, be able to see the inner world of the computer host. Some people like the scenery, some people like the stars, some people like beautiful women, others like animals. However, one day you will have aesthetic fatigue, but when you decide to change the wallpaper, you will find tha ...

Posted by toffler on Sun, 06 Oct 2019 10:11:24 -0700

Small animation and dynamic storage setdata problem

Small animation and dynamic storage setdata problem If you want to make multiple elements in the WeChat applet one by one, the effect will be similar to the following: First, refer to the contents of the API animation part of the development document.Developing Document API - Animation Create animati ...

Posted by camdagr81 on Sun, 06 Oct 2019 00:47:13 -0700

springboot returns json and xml

Summary: Return data in json, xml format      @XmlRootElement <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> </dependency>   SpringBoot returns json and xml https://www.jianshu.com/p/231b5ff ...

Posted by zamzon on Sat, 05 Oct 2019 21:58:30 -0700

Talk about Raft PeerSet of nacos

order This paper mainly studies Raft PeerSet of nacos. RaftPeerSet nacos-1.1.3/naming/src/main/java/com/alibaba/nacos/naming/consistency/persistent/raft/RaftPeerSet.java @Component @DependsOn("serverListManager") public class RaftPeerSet implements ServerChangeListener, ApplicationContextAware { @Autowired private ServerListManager ser ...

Posted by BloodyMind on Sat, 05 Oct 2019 21:46:53 -0700

On.NET HttpClient way to get small code (Er Weima)

With the hot application of small programs, there are many demands for small program development on the market. Recently, we analyzed the requirement of generating a small program code, which required that scan code jump to the specified page of the small program (with parameters). After looking at the official document of the small program and ...

Posted by Edgewalker81 on Sat, 05 Oct 2019 16:31:18 -0700

Python Crawler Project Actual Warfare - Crawl Cat Eye Movie

How to learn Python reptiles, the difficulty of reptiles is not the reptiles themselves. It's a variety of anti-reptile measures. Here is a small case to share with you the charm of python. How to learn Python reptiles, the difficulty of reptiles is not the reptiles themselves. It's a variety of anti-reptile measures. Here is a small case to s ...

Posted by MaxD on Sat, 05 Oct 2019 11:15:13 -0700

python crawler-Tao translation-js encryption cracking

Dow Translation-js Encryption Cracking This is a locally crawled website: http://fanyi.youdao.com/ I. Analysis Request We input the fruit in the page: the English after translation is fruit. There are many parameters in the request. First, save the parameter data and make a record. Let's enter a new word: watermelon. i: watermelon from: AUTO t ...

Posted by spitfire_esquive on Sat, 05 Oct 2019 07:04:58 -0700