• [qiyueliu Wuxu] first day in blog Park~


    2019/07/28 [first of all]: the purpose of creating a blog is to share the basic knowledge of HTML5+CSS+JavaScript, and help the new beginners to master the basic knowledge. In addition to systematically sharing the relevant knowledge posts from the front to the back, from the easy to the difficult order, it will also appropriately attach […]

  • Getting started with Ajax and post


    In the previous essay, in a nostalgic manner, I summarized a method of building XHR objects compatible with different browsers: After the XHR object is established, what the client needs to do is to pass the data to the server in some way to get the corresponding response. Here, in the second quarter of Ajax […]

  • CRS fails to start normally after the network cable is changed. Clssnmsendingthread: sending status msg to all nodes


    CRS fails to start normally after the network cable is changed. Clssnmsendingthread: sending status msg to all nodesBefore my colleague changed the network cable, I shut down node 2 normally. After changing the network cable, I was told that node 2 was dead and alive. Looking at the logs and some posts above, it was […]

  • An example of using HTTP to initiate get and post requests in go language


    About HTTP protocol HTTP (Hypertext Transfer Protocol) is one of the most common and commonly used protocols in modern network. It is designed to ensure the communication between client and server. HTTP works as a request answer protocol between the client and the server. The client can be a web browser, and the server can […]

  • A brief analysis of the difference between post and get methods


    For example, name = John. In the queue, values and forms are separated by a & sign, spaces are replaced by a + sign, and special symbols are converted into hexadecimal code. Because this queue is in the URL, the parameters of the queue can be seen, recorded, or changed. Usually get methods also limit […]

  • Node.js express jQuery Ajax post options cross domain solution


    Just give the right answer. One server isnode.js & express:The simplest is to use expressjs / CORSinstallnpm install cors –saveIntroducevar cors = require(‘cors’);Useapp.use(cors());This completes the server side. Two clientsjs & jQuery:You can’t use shortcuts first$.post()It has to be used.$.ajax() $.ajax({ type: ‘POST’, url: ‘…’, data: JSON.stringify(params), processData: false, contentType: ‘application/json’, dataType: ‘json’ }).then(function(ret){ alert(ret); }); […]

  • Error analysis of post method in Ajax returning numbers starting with 0 directly


    Today, I found a strange problem when sending the simulated verification code. I use the following code preset as the button to send the verification code. This is the node.js server < pre style = “font family: Tahoma; font size: 9pt; background color: rgb (255, 255, 255);” >{ $(e.target).parent().children().first().val() $.ajax({ type:”POST”, url:”validate/vcode”, dataType:”json”, data:{ vcode:”code” […]

  • Thinkphp5.1 framework Routing:: get, post request simple usage example


    This article describes the simple use of thinkphp5.1 framework route:: get, post request. To share with you for your reference, as follows: 1. Create a type method in the controller index under the index module public function type(){ var_dump(input()); Echo ‘I am the test type’; return view(); } 2. Under the index module, create a […]

  • Learn to avoid repeated post submission caused by user refresh in ten minutes


    Question In web applications, it is very common to submit information by post. However, if the target page is opened too slowly, the user may refresh the page. At this time, the previously submitted information will be submitted repeatedly. Even if the user successfully opens the post submission target page, then he navigates to another […]

  • Android intercepts and obtains WebView internal post request parameters


    Cause: Sometimes the H5 page embedded in your app is not your own. But many times I want to obtain the parameters of H5 internal request without H5’s knowledge. How can I do this? With this question, there is this blog. Implementation process: Scenario 1: The first idea is to intercept all the requests in […]

  • The difference between HTTP get and post


    1. HTTP request format:<request line> <headers> <blank line> [<request-body>] In an HTTP request, the first line must be a request line that describes the type of request, the resources to be accessed, and the HTTP version used. This is followed by a header section that describes the additional information that the server will use. After […]

  • CSRF processing method in asp.net core


    Preface A few days ago, a friend asked me about the anti forgery token. Because I didn’t have a deep understanding of this part, I went to study it and sort it out. Before combing, we need to have a brief understanding of the background knowledge. Anti forgery token can be said to be a […]